bcprov-jdk18on is vulnerable to Uncontrolled Resource Consumption
71
High Risk
BKS and UBER keystore loading trusts length fields from the keystore file and allocates buffers from those values before verifying the integrity MAC. A crafted keystore can declare huge lengths and force large allocations during load. Applications that open untrusted keystore files can be driven into denial of service through memory exhaustion. The fix validates lengths against remaining input and defers allocation until after integrity checks succeed.
You are affected if you are using a version that falls within the vulnerable range and you load BKS or UBER keystores from untrusted files.
bcprov-jdk18on is vulnerable to Uncontrolled Resource Consumption in versions 0.0.1 - 1.84.0.
Upgrade the org.bouncycastle provider library for your JDK target (bcprov-jdk18on, bcprov-jdk15to18 or bcprov-jdk14) 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