bcprov-jdk18on is vulnerable to Denial of Service
60
CVE Score
Medium
Denial of Service
PBEPKCS12 and the other legacy PBES1 parameter parsers take the iteration count from the encoded parameters and run the derivation that many times. A PKCS#12 or PBES1 blob can therefore hold a derivation that runs for minutes. The fix rejects a negative count and counts above org.bouncycastle.pbe.max_iteration_count, which defaults to 10000000.
Upgrade the org.bouncycastle:bcprov-jdk18on and/or the org.bouncycastle:bcprov-jdk15to18 library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you decode PBES1 or PKCS#12 PBE parameters from an encoded blob.
1.63 - 1.86
Fixed in 1.87bcprov-jdk18on is vulnerable to Denial of Service in versions 1.63 - 1.86.
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.