HIGH7.5
GHSA-2mh8-gx2m-mr75
Out-of-Memory Error in Bouncy Castle Crypto
Quick fix
GHSA-2mh8-gx2m-mr75 — org.bouncycastle:bcprov-jdk14: upgrade to the fixed version with the command below.
# pom.xml: bump <version>1.64</version> for org.bouncycastle:bcprov-jdk14Details
The ASN.1 parser in Bouncy Castle Crypto (aka BC Java) 1.63 can trigger a large attempted memory allocation, and resultant OutOfMemoryError error, via crafted ASN.1 data. This is fixed in 1.64.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.bouncycastle:bcprov-jdk14
Introduced in:
1.63Fixed in: 1.64Fix
# pom.xml: bump <version>1.64</version> for org.bouncycastle:bcprov-jdk14References
- https://nvd.nist.gov/vuln/detail/CVE-2019-17359[ADVISORY]
- https://www.oracle.com/security-alerts/cpuoct2020.html[WEB]
- https://www.oracle.com/security-alerts/cpujul2020.html[WEB]
- https://www.oracle.com/security-alerts/cpujan2021.html[WEB]
- https://www.oracle.com/security-alerts/cpujan2020.html[WEB]
- https://www.oracle.com/security-alerts/cpuapr2020.html[WEB]
- https://www.bouncycastle.org/releasenotes.html[WEB]
- https://www.bouncycastle.org/latest_releases.html[WEB]
- https://security.netapp.com/advisory/ntap-20191024-0006[WEB]
- https://lists.apache.org/thread.html/re60f980c092ada4bfe236dcfef8b6ca3e8f3b150fc0f51b8cc13d59d@%3Ccommits.tomee.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r91b07985b1307390a58c5b9707f0b28ef8e9c9e1c86670459f20d601@%3Ccommits.tomee.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r8ecb5b76347f84b6e3c693f980dbbead88c25f77b815053c4e6f2c30@%3Ccommits.tomee.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r79b6a6aa0dd1aeb57bd253d94794bc96f1ec005953c4bd5414cc0db0@%3Ccommits.tomee.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r4d475dcaf4f57115fa57d8e06c3823ca398b35468429e7946ebaefdc@%3Ccommits.tomee.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r467ade3fef3493f1fff1a68a256d087874e1f858ad1de7a49fe05d27@%3Ccommits.tomee.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r16c3a90cb35ae8a9c74fd5c813c16d6ac255709c9f9d71cd409e007d@%3Ccommits.tomee.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r02f887807a49cfd1f1ad53f7a61f3f8e12f60ba2c930bec163031209@%3Ccommits.tomee.apache.org%3E[WEB]