Deserialization of Untrusted Data Affecting bouncycastle package, versions <1.60-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.52% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Deserialization of Untrusted Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-BOUNCYCASTLE-278567
  • published11 Jul 2018
  • disclosed9 Jul 2018

Introduced: 9 Jul 2018

CVE-2018-1000613  (opens in a new tab)
CWE-502  (opens in a new tab)
CWE-470  (opens in a new tab)

How to fix?

Upgrade Debian:unstable bouncycastle to version 1.60-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bouncycastle package and not the bouncycastle package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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 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.

CVSS Scores

version 3.1