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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.bouncycastle:bcpg-jdk12 | All versions up to and including 130 |
| Maven | org.bouncycastle:bcpg-jdk14 | All versions before 1.84 (fixed in 1.84) |
| Maven | org.bouncycastle:bcpg-jdk15 | All versions up to and including 1.46 |
| Maven | org.bouncycastle:bcpg-jdk15to18 | All versions before 1.84 (fixed in 1.84) |
| Maven | org.bouncycastle:bcpg-jdk15on | All versions up to and including 1.70 |
| Maven | org.bouncycastle:bcpg-jdk16 | All versions up to and including 1.46 |
| Maven | org.bouncycastle:bcpg-jdk18on | All versions before 1.84 (fixed in 1.84) |