cve.bz

CVE-2023-33201 bouncycastle bc-java: Improper Certificate Validation

5.3 mediumEPSS 0.8%Fix available

Medium (5.3) in bouncycastle bc-java. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in org.bouncycastle:bcprov-jdk18on 1.74.

On this page
Bouncy Castle For Java before 1.74 is affected by an LDAP injection vulnerability. The vulnerability only affects applications that use an LDAP CertStore from Bouncy Castle to validate X.509 certificates. During the certificate validation process, Bouncy Castle inserts the certificate's Subject Name into an LDAP search filter without any escaping, which leads to an LDAP injection vulnerability.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-22. 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-12-04. 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-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-33201 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-33201?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-33201?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-33201 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:bc-javabefore 1.74

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hr8g-6v94-x4m9Mavenorg.bouncycastle:bcprov-jdk18on<1.741.74
GHSA-hr8g-6v94-x4m9Mavenorg.bouncycastle:bcprov-jdk15to18<1.741.74
GHSA-hr8g-6v94-x4m9Mavenorg.bouncycastle:bcprov-jdk14>=1.49 <1.741.74
GHSA-hr8g-6v94-x4m9Mavenorg.bouncycastle:bcprov-ext-jdk14>=1.49 <1.741.74
GHSA-hr8g-6v94-x4m9Mavenorg.bouncycastle:bcprov-ext-jdk15to18<1.741.74
GHSA-hr8g-6v94-x4m9Mavenorg.bouncycastle:bcprov-ext-jdk18on<1.741.74
GHSA-hr8g-6v94-x4m9Mavenorg.bouncycastle:bcprov-debug-jdk14>=1.49 <1.741.74
GHSA-hr8g-6v94-x4m9Mavenorg.bouncycastle:bcprov-debug-jdk15to18<1.741.74
GHSA-hr8g-6v94-x4m9Mavenorg.bouncycastle:bcprov-debug-jdk18on<1.741.74
GHSA-hr8g-6v94-x4m9Mavenorg.bouncycastle:bcprov-jdk15on>=1.49 <=1.70no fix published
GHSA-hr8g-6v94-x4m9Mavenorg.bouncycastle:bcprov-ext-jdk15on>=1.49 <=1.70no fix published
GHSA-hr8g-6v94-x4m9Mavenorg.bouncycastle:bcprov-debug-jdk15on>=1.49 <=1.70no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10bouncycastle1.60-1+deb10u1DLA-3514-1
Debian12bouncycastleno fix listedDEBIAN-CVE-2023-33201
Debian13, 14bouncycastle1.77-1DEBIAN-CVE-2023-33201
UbuntuPro:16.04:LTSbouncycastle1.51-4ubuntu1+esm1UBUNTU-CVE-2023-33201
UbuntuPro:18.04:LTSbouncycastle1.59-1ubuntu0.1~esm1UBUNTU-CVE-2023-33201
UbuntuPro:20.04:LTSbouncycastle1.61-1ubuntu0.1~esm1UBUNTU-CVE-2023-33201
UbuntuPro:22.04:LTSbouncycastle1.68-5ubuntu0.1~esm1UBUNTU-CVE-2023-33201
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more0:2.16.0-15.redhat_00049.1.el7eapRHSA-2023:5484
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-bouncycastle, eap7-bouncycastle-pg, eap7-bouncycastle-mail and 3 more0:1.76.0-4.redhat_00001.1.el7eapRHSA-2023:5484
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hal-console0:3.3.19-1.Final_redhat_00001.1.el7eapRHSA-2023:5484
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hibernate, eap7-hibernate-core, eap7-hibernate-java8 and 2 more0:5.3.31-1.Final_redhat_00001.1.el7eapRHSA-2023:5484
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.5.15-1.Final_redhat_00001.1.el7eapRHSA-2023:5484
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-marshalling, eap7-jboss-marshalling-river0:2.0.13-2.SP1_redhat_00001.1.el7eapRHSA-2023:5484
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-modules0:1.12.2-1.Final_redhat_00001.1.el7eapRHSA-2023:5484
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core0:1.10.0-31.Final_redhat_00030.1.el7eapRHSA-2023:5484
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-xnio-base0:3.8.10-1.Final_redhat_00001.1.el7eapRHSA-2023:5484
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-mod_cluster0:1.4.5-1.Final_redhat_00001.1.el7eapRHSA-2023:5484
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-netty, eap7-netty-all, eap7-netty-codec and 27 more0:4.1.94-1.Final_redhat_00001.1.el7eapRHSA-2023:5484
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-resteasy, eap7-resteasy-cdi, eap7-resteasy-jaxrs and 16 more0:3.15.8-1.Final_redhat_00001.1.el7eapRHSA-2023:5484
36 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 9 morebouncycastle1.74-150200.3.21.1SUSE-SU-2023:2843-1
openSUSELeap 15.4, Leap 15.5bouncycastle1.74-150200.3.21.1SUSE-SU-2023:2843-1
openSUSETumbleweedbouncycastle1.74-1.1openSUSE-SU-2024:13016-1

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

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
AMQ Broker 7.11.5bouncycastleFixed 2024-01-17RHSA-2024:0278
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-grafana-dashboard-rhel8:2.4.0-2Fixed 2023-12-06RHSA-2023:7669
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-operator-bundle:2.4.0-2Fixed 2023-12-06RHSA-2023:7669
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-reports-rhel8:2.4.0-2Fixed 2023-12-06RHSA-2023:7669
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-rhel8:2.4.0-2Fixed 2023-12-06RHSA-2023:7669
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-rhel8-operator:2.4.0-3Fixed 2023-12-06RHSA-2023:7669
Cryostat 2 on RHEL 8cryostat-tech-preview/jfr-datasource-rhel8:2.4.0-2Fixed 2023-12-06RHSA-2023:7669
Red Hat AMQ Streams 2.5.0Fixed 2023-09-14RHSA-2023:5165
Red Hat AMQ Streams 2.6.0bouncycastleFixed 2023-12-06RHSA-2023:7678
Red Hat AMQ Streams 2.7.0Fixed 2024-05-30RHSA-2024:3527
A-MQ Clients 2bouncycastleNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Migration Toolkit for Applications 6bouncycastleWill not fix
Migration Toolkit for RuntimesbouncycastleWill not fix
Red Hat A-MQ OnlinebouncycastleNot affected
Red Hat build of Apicurio Registry 2bouncycastleWill not fix
Red Hat build of Debezium 1bouncycastleWill not fix
Red Hat build of Debezium 2bouncycastleWill not fix
Red Hat build of Quarkusbcprov-jdk15onWill not fix
Red Hat Data Grid 8bouncycastleWill not fix
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-33201.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

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

References

Check your stackJSON