bcpkix-jdk18on is vulnerable to Uncontrolled Resource Consumption
53
CVE Score
Medium
Uncontrolled Resource Consumption
The PKCS#8 and PBES2 decryptor provider builders in the org.bouncycastle.pkcs and org.bouncycastle.openssl packages honour the key-derivation cost parameters declared in encrypted private-key input without an upper bound. Decrypting a crafted encrypted private key that declares an extreme key-derivation cost forces excessive computation. Before the fix, untrusted PKCS#8 or PBES2 input can drive uncontrolled resource consumption. The fix imposes limits on the accepted key-derivation parameters.
Upgrade the org.bouncycastle:bcpkix-jdk18on library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you decrypt PKCS#8 or PBES2 encrypted private keys from untrusted sources.
0.0.1 - 1.84
Fixed in 1.85bcpkix-jdk18on is vulnerable to Uncontrolled Resource Consumption in versions 0.0.1 - 1.84.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.