9.8crit

CVE-2018-1000613

Deserialization of Untrusted Data in Bouncy castle

Also known as GHSA-4446-656p-f54g

Published 8 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
4.8%
percentile 92%
Public exploits
0
none known

Summary

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.

CISA SSVC assessment

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
2 y ago

Exploit prediction (EPSS)

4.77% probability of exploitation in the next 30 days, higher than 92% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.19.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.07.5AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.bouncycastle:bcprov-jdk15on
>=1.57, <1.60
1.60

Classification

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

References

  • lists.opensuse.org /opensuse-security-announce/2020-05/msg00011.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • oracle.com /security-alerts/cpuapr2020.html · x_refsource_MISC, x_transferred
  • oracle.com /technetwork/security-advisory/cpujan2019-5072801.html · x_refsource_CONFIRM, x_transferred
  • oracle.com /technetwork/security-advisory/cpuapr2019-5072813.html · x_refsource_MISC, x_transferred
  • oracle.com /technetwork/security-advisory/cpujul2019-5072835.html · x_refsource_MISC, x_transferred
  • lists.apache.org /thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2%40%3Cissues.geode.a · mailing-list, x_refsource_MLIST, x_transferred
  • oracle.com /security-alerts/cpuoct2020.html · x_refsource_MISC, x_transferred
  • security.netapp.com /advisory/ntap-20190204-0003/ · x_refsource_CONFIRM, x_transferred
  • github.com /bcgit/bc-java/commit/4092ede58da51af9a21e4825fbad0d9a3ef5a223#diff-2c06e2edef41db889ee148 · x_refsource_CONFIRM, x_transferred
  • github.com /bcgit/bc-java/commit/cd98322b171b15b3f88c5ec871175147893c31e6#diff-148a6c098af0199192d6ae · x_refsource_CONFIRM, x_transferred
  • oracle.com /security-alerts/cpuApr2021.html · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-1000613 · advisory
  • github.com /bcgit/bc-java/commit/cc9f91c41be67e88fca4e38f4872418448950fd9 · web
  • github.com /advisories/GHSA-4446-656p-f54g · advisory
  • github.com /bcgit/bc-java · package
  • lists.apache.org /thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@%3Cissues.geode.apa · web
  • security.netapp.com /advisory/ntap-20190204-0003 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.