bcprov-jdk18on is vulnerable to Uncontrolled Resource Consumption
53
Medium Risk
The PKCS#12 keystore implementation in the Bouncy Castle JCE provider honours the MAC and bag-decryption key-derivation iteration count declared in an input file without an effective upper bound. Loading a crafted PKCS#12 keystore that declares an extremely large iteration count forces excessive key-derivation work. Before the fix, parsing untrusted PKCS#12 data can drive uncontrolled resource consumption. The fix validates and bounds the accepted iteration count during keystore load and bag decryption
You are affected if you are using a version that falls within the vulnerable range and you load PKCS#12 files from untrusted sources.
bcprov-jdk18on is vulnerable to Uncontrolled Resource Consumption in versions 0.0.1 - 1.84.0.
Upgrade the org.bouncycastle:bcprov-jdk18on library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant