CVE-2018-1000613
Deserialization of Untrusted Data in Bouncy castle
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle » bcprov-jdk15on | >= 1.57, < 1.60 | 1.60 |
Blast radius
32% of the dependent artifacts (1,734) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 6,289 |
| 2 hops | 22,754 |
| 3 hops | 26,525 |
| 4 hops | 17,455 |
| 5 hops | 7,337 |
| 6 hops | 4,570 |
Most used dependents
- org.bouncycastle » bcpkix-jdk15on2,867 usages
- io.fabric8 » docker-maven-plugin1,092 usages
- org.robolectric » robolectric909 usages
- io.fabric8 » fabric8-maven-plugin676 usages
- org.vafer » jdeb628 usages
- com.atlassian.jira » jira-core554 usages
- org.mock-server » mockserver-netty541 usages
- org.keycloak » keycloak-core528 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apache.cxf » cxf-rt-ws-security478 usages
- info.magnolia » magnolia-core462 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- org.wso2.carbon.identity.framework » org.wso2.carbon.identity.core350 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-1000613 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-4446-656p-f54g | github.com |
| Package | bcgit/bc-java | github.com |
| Web | bcgit/bc-java commit 4092ede | github.com |
| Web | bcgit/bc-java commit cc9f91c | github.com |
| Web | bcgit/bc-java commit cd98322 | github.com |
| Web | thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@<issues.geode.apache ... | lists.apache.org |
| Web | thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@<issues.geode.apache ... | lists.apache.org |
| Web | advisory/ntap-20190204-0003 | security.netapp.com |
| Web | security-alerts/cpuApr2021.html | oracle.com |
| Web | security-alerts/cpuapr2020.html | oracle.com |
| Web | security-alerts/cpuoct2020.html | oracle.com |
| Web | technetwork/security-advisory/cpuapr2019-5072813.html | oracle.com |
| Web | technetwork/security-advisory/cpujan2019-5072801.html | oracle.com |
| Web | technetwork/security-advisory/cpujul2019-5072835.html | oracle.com |
| Web | opensuse-security-announce/2020-05/msg00011.html | lists.opensuse.org |
