bcprov-jdk18on is vulnerable to Uncontrolled Recursion
87
High Risk
Forcing a lazy ASN.1 sequence to materialize resets the nesting-depth guard used by the ASN.1 parser. Nested crafted encodings can then recurse past the intended depth limit. Parsing untrusted ASN.1 can lead to stack exhaustion or denial of service. The fix preserves the nesting-depth accounting across lazy sequence forcing.
You are affected if you are using a version that falls within the vulnerable range and you parse untrusted ASN.1 with nested encodings.
bcprov-jdk18on is vulnerable to Uncontrolled Recursion 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