bcprov-jdk18on is vulnerable to Uncontrolled Resource Consumption
87
High Risk
DefiniteLengthInputStream can allocate the full declared definite length up front without an adequate upper bound relative to available input or memory. A crafted ASN.1/definite-length encoding can trigger out-of-memory conditions. Applications parsing untrusted encodings are exposed to denial of service. The fix caps up-front allocation and reads incrementally within safe bounds.
You are affected if you are using a version that falls within the vulnerable range and you parse untrusted ASN.1 with large declared lengths.
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