GHSA-wjxj-5m7g-mg7q
Bouncy Castle Denial of Service (DoS)
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.bouncycastle:bcprov-ext-jdk16 | < 1.73 | 1.73 |
| Maven | org.bouncycastle:bcprov-jdk14 | < 1.73 | 1.73 |
| Maven | org.bouncycastle:bcprov-jdk15 | < 1.73 | 1.73 |
| Maven | org.bouncycastle:bcprov-jdk15to18 | < 1.73 | 1.73 |
| Maven | org.bouncycastle:bcprov-jdk16 | < 1.73 | 1.73 |
| Maven | org.bouncycastle:bcprov-jdk15on | < 1.70 | no fix listed |
| Maven | org.bouncycastle:bcpkix-jdk18on | < 1.73 | 1.73 |
| Maven | org.bouncycastle:bcprov-ext-jdk15on | < 1.73 | 1.73 |
| Maven | org.bouncycastle:bcprov-jdk18on | < 1.73 | 1.73 |
Details
As written in the advisory (Markdown source, shown as plain text).
Bouncy Castle for Java before 1.73 contains a potential Denial of Service (DoS) issue within the Bouncy Castle org.bouncycastle.openssl.PEMParser class. This class parses OpenSSL PEM encoded streams containing X.509 certificates, PKCS8 encoded keys, and PKCS7 objects. Parsing a file that has crafted ASN.1 data through the PEMParser causes an OutOfMemoryError, which can enable a denial of service attack.
References
External links from the advisory. They lead to third-party sites.