bcpg-jdk18on is vulnerable to Uncontrolled Resource Consumption
69
Medium Risk
Bouncy Castle's OpenPGP Argon2 string-to-key handling honours the memory and pass-count parameters declared in the input without enforcing an upper limit. Processing a crafted message or key can force the library to allocate very large amounts of memory. This can exhaust process resources and deny service. The fix bounds the accepted Argon2 cost parameters.
You are affected if you are using a version that falls within the vulnerable range and your application decrypts OpenPGP data protected with an Argon2 string-to-key specifier taken from untrusted input.
bcpg-jdk18on is vulnerable to Uncontrolled Resource Consumption in versions 1.71.0 - 1.84.0.
Upgrade the org.bouncycastle:bcpg-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