cve.bz

CVE-2023-33202 bouncycastle: Uncontrolled Resource Consumption

5.5 mediumExploit referenceEPSS 1.0%Fix available

Medium (5.5) in bouncycastle. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.bouncycastle:bcprov-ext-jdk16 1.73.

On this page
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.)

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-10-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • org.bouncycastle:bcprov-ext-jdk16 (Maven): fixed in 1.73
  • org.bouncycastle:bcprov-jdk14 (Maven): fixed in 1.73
  • org.bouncycastle:bcprov-jdk15 (Maven): fixed in 1.73
  • org.bouncycastle:bcprov-jdk15to18 (Maven): fixed in 1.73
  • org.bouncycastle:bcprov-jdk16 (Maven): fixed in 1.73
  • org.bouncycastle:bcpkix-jdk18on (Maven): fixed in 1.73
  • org.bouncycastle:bcprov-ext-jdk15on (Maven): fixed in 1.73
  • org.bouncycastle:bcprov-jdk18on (Maven): fixed in 1.73
  • Debian: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2023-33202 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-33202?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-33202?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-33202 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
bouncycastle:bouncy_castle_for_javabefore 1.73
bouncycastle:fips_java_apibefore 1.0.2.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wjxj-5m7g-mg7qMavenorg.bouncycastle:bcprov-ext-jdk16<1.731.73
GHSA-wjxj-5m7g-mg7qMavenorg.bouncycastle:bcprov-jdk14<1.731.73
GHSA-wjxj-5m7g-mg7qMavenorg.bouncycastle:bcprov-jdk15<1.731.73
GHSA-wjxj-5m7g-mg7qMavenorg.bouncycastle:bcprov-jdk15to18<1.731.73
GHSA-wjxj-5m7g-mg7qMavenorg.bouncycastle:bcprov-jdk16<1.731.73
GHSA-wjxj-5m7g-mg7qMavenorg.bouncycastle:bcprov-jdk15onall versionsno fix published
GHSA-wjxj-5m7g-mg7qMavenorg.bouncycastle:bcpkix-jdk18on<1.731.73
GHSA-wjxj-5m7g-mg7qMavenorg.bouncycastle:bcprov-ext-jdk15on<1.731.73
GHSA-wjxj-5m7g-mg7qMavenorg.bouncycastle:bcprov-jdk18on<1.731.73

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12bouncycastleno fix listedDEBIAN-CVE-2023-33202
Debian13, 14bouncycastle1.77-1DEBIAN-CVE-2023-33202
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS and 1 morebouncycastleno fix listedUBUNTU-CVE-2023-33202

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat AMQ Streams 2.7.0Fixed 2024-05-30RHSA-2024:3527
A-MQ Clients 2bcpkixNot affected
Logging Subsystem for Red Hat OpenShiftbcpkixNot affected
Migration Toolkit for Applications 6bcpkixNot affected
Migration Toolkit for RuntimesbcpkixNot affected
OpenShift Developer Tools and ServicesjenkinsUnder investigation
OpenShift Developer Tools and Servicesjenkins-2-pluginsUnder investigation
OpenShift ServerlessbcpkixNot affected
Red Hat AMQ Broker 7bcpkixAffected
Red Hat build of Apache Camel for Spring Boot 3bcpkixNot affected
Red Hat build of Apicurio Registry 2bcpkixWill not fix
Red Hat build of Debezium 2bcpkixWill not fix
Red Hat build of Quarkusbcpkix-jdk15onNot affected
Red Hat Data Grid 8bcpkixWill not fix
Red Hat Decision Manager 7bcpkixAffected
Red Hat Enterprise Linux 8log4j:2/log4jNot affected
Red Hat Enterprise Linux 9log4jNot affected
Red Hat Fuse 7bcpkixAffected
Red Hat Integration Camel K 1bcpkixWill not fix
Red Hat Integration Camel Quarkus 2bcpkixNot affected
22 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-33202.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON