Mittel

Bouncy Castle For Java LDAP injection vulnerability

  • Veröffentlicht: 05.07.2023
  • Aktualisiert: 11.10.2026 13:19

Bouncy Castle provides the X509LDAPCertStoreSpi.java class which can be used in conjunction with the CertPath API for validating certificate paths. Pre-1.73 the implementation did not check the X.500 name of any certificate, subject, or issuer being passed in for LDAP wild cards, meaning the presence of a wild car may lead to Information Disclosure.

A potential attack would be to generate a self-signed certificate with a subject name that contains special characters, e.g: CN=Subject*)(objectclass=. This will be included into the filter and provides the attacker ability to specify additional attributes in the search query. This can be exploited as a blind LDAP injection: an attacker can enumerate valid attribute values using the boolean blind injection technique. The exploitation depends on the structure of the target LDAP directory, as well as what kind of errors are exposed to the user.

Changes to the X509LDAPCertStoreSpi.java class add the additional checking of any X.500 name used to correctly escape wild card characters.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Java / Kotlin (Maven) org.bouncycastle:bcprov-debug-jdk14 >= 1.49, < 1.74 1.74
Java / Kotlin (Maven) org.bouncycastle:bcprov-debug-jdk15on >= 1.49, <= 1.70 keine Korrektur
Java / Kotlin (Maven) org.bouncycastle:bcprov-debug-jdk15to18 < 1.74 1.74
Java / Kotlin (Maven) org.bouncycastle:bcprov-debug-jdk18on < 1.74 1.74
Java / Kotlin (Maven) org.bouncycastle:bcprov-ext-jdk14 >= 1.49, < 1.74 1.74
Java / Kotlin (Maven) org.bouncycastle:bcprov-ext-jdk15on >= 1.49, <= 1.70 keine Korrektur
Java / Kotlin (Maven) org.bouncycastle:bcprov-ext-jdk15to18 < 1.74 1.74
Java / Kotlin (Maven) org.bouncycastle:bcprov-ext-jdk18on < 1.74 1.74
Java / Kotlin (Maven) org.bouncycastle:bcprov-jdk14 >= 1.49, < 1.74 1.74
Java / Kotlin (Maven) org.bouncycastle:bcprov-jdk15on >= 1.49, <= 1.70 keine Korrektur
Java / Kotlin (Maven) org.bouncycastle:bcprov-jdk15to18 < 1.74 1.74
Java / Kotlin (Maven) org.bouncycastle:bcprov-jdk18on < 1.74 1.74

Verweise

CVSS-Wert 5.3/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Schwäche (CWE)
CWE-295
Plattform
Java / Kotlin (Maven)
Paket
org.bouncycastle:bcprov-debug-jdk14, org.bouncycastle:bcprov-debug-jdk15on, org.bouncycastle:bcprov-debug-jdk15to18
Veröffentlicht
05.07.2023
Aktualisiert
11.10.2026 13:19

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-hr8g-6v94-x4m9 - CC BY 4.0

Schwachstellenhistorie: org.bouncycastle:bcprov-debug-jdk14

Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Einträge insgesamt
2
Erste → letzte
07.2023 04.2026
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 1
  • Mittel 1

Veröffentlichungen pro Jahr

  1. 2023: 1
  2. 2024: 0
  3. 2025: 0
  4. 2026: 1
  1. Kritisch · 7.5 CVE-2025-14813 >= 1.59, <= 1.80.1, >= 1.82, < 1.84, = 1.81.0 1.84
  2. Bouncy Castle For Java LDAP injection vulnerability dieser Eintrag
    Mittel · 5.3 CVE-2023-33201 >= 1.49, < 1.74 1.74

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.