bcgit/bc-java · Security
Bouncy Castle Denial of Service (DoS)
- GHSA ID
- GHSA-wjxj-5m7g-mg7q
- CVE ID
- CVE-2023-33202
- Severity
- medium
- Published
- Updated
- CVSS
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS v3
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Description
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.
CWEs
- CWE-400 · Uncontrolled Resource Consumption
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-33202 ↗
- https://github.com/bcgit/bc-java/wiki/CVE-2023-33202 ↗
- https://security.netapp.com/advisory/ntap-20240125-0001 ↗
- https://github.com/bcgit/bc-java/commit/0c576892862ed41894f49a8f639112e8d66d229c ↗
- https://bouncycastle.org ↗
- https://github.com/advisories/GHSA-wjxj-5m7g-mg7q ↗