GitHub Advisoryadvisory · Maven

GHSA-4446-656p-f54g Deserialization of Untrusted Data in Bouncy castle

CRITICAL Published 2018-10-17 Modified 2025-05-12 Official page ↗
Aliases
CVE-2018-1000613
Ecosystem
Maven
Packages
org.bouncycastle:bcprov-jdk15on
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-470, CWE-502
Reviewed
2020-06-16

Affected packages

• Maven org.bouncycastle:bcprov-jdk15on: >= 1.57, < 1.60 → fixed in 1.60

Description

Legion of the Bouncy Castle Java Cryptography APIs starting in version 1.57 and prior to version 1.60 contains a CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in XMSS/XMSS^MT private key deserialization that can result in Deserializing an XMSS/XMSS^MT private key can result in the execution of unexpected code. This attack appear to be exploitable via A handcrafted private key can include references to unexpected classes which will be picked up from the class path for the executing application. This vulnerability appears to have been fixed in 1.60 and later.

Related

Alias · CVE (1)

  • CVE-2018-1000613 Legion of the Bouncy Castle Legion of the Bouncy Castle Java Cryptography APIs 1.58 up to but not including 1.60 contains a CWE-470: Use of… vulnerability

Weakness · CWE (2)

  • CWE-470 Use of Externally-Controlled Input to Select Classes or Code weakness
  • CWE-502 Deserialization of Untrusted Data weakness

References