ADVISORIES

GitHub Advisory Database

GHSA-cj8j-37rh-8475

Bouncy Castle Uncontrolled Resource Consumption vulnerability

Details

Allocation of resources without limits or throttling vulnerability in Legion of the Bouncy Castle Inc. BC-JAVA bcpg on all (pg modules). This issue affects BC-JAVA before 1.84.

Unbounded PGP AEAD chunk size leads to pre-auth resource exhaustion.

Affected packages

EcosystemPackageAffected versions
Mavenorg.bouncycastle:bcpg-jdk12
All versions up to and including 130
Mavenorg.bouncycastle:bcpg-jdk14
All versions before 1.84 (fixed in 1.84)
Mavenorg.bouncycastle:bcpg-jdk15
All versions up to and including 1.46
Mavenorg.bouncycastle:bcpg-jdk15to18
All versions before 1.84 (fixed in 1.84)
Mavenorg.bouncycastle:bcpg-jdk15on
All versions up to and including 1.70
Mavenorg.bouncycastle:bcpg-jdk16
All versions up to and including 1.46
Mavenorg.bouncycastle:bcpg-jdk18on
All versions before 1.84 (fixed in 1.84)

References