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. (For users of the FIPS Java API: BC-FJA 1.0.2.3 and earlier are affected; BC-FJA 1.0.2.4 is fixed.)
Remediation
References
https://bouncycastle.org
https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902023%E2%80%9033202
https://github.com/bcgit/bc-java/wiki/CVE-2023-33202
https://security.netapp.com/advisory/ntap-20240125-0001/
Related Vulnerabilities
CVE-2023-34981 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2023-46604 Vulnerability in maven package org.apache.activemq:activemq-openwire-legacy
CVE-2022-23496 Vulnerability in maven package nl.basjes.parse.useragent:yauaa-snowflake
CVE-2021-4040 Vulnerability in maven package org.apache.activemq:artemis-commons
CVE-2020-24750 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind