Hoch

Private key leak in Apache CXF

  • Veröffentlicht: 22.05.2020
  • Aktualisiert: 11.10.2026 11:21

Apache CXF ships with a OpenId Connect JWK Keys service, which allows a client to obtain the public keys in JWK format, which can then be used to verify the signature of tokens issued by the service. Typically, the service obtains the public key from a local keystore (JKS/PKCS12) by specifing the path of the keystore and the alias of the keystore entry. This case is not vulnerable. However it is also possible to obtain the keys from a JWK keystore file, by setting the configuration parameter rs.security.keystore.type to jwk. For this case all keys are returned in this file "as is", including all private key and secret key credentials. This is an obvious security risk if the user has configured the signature keystore file with private or secret key credentials. From CXF 3.3.5 and 3.2.12, it is mandatory to specify an alias corresponding to the id of the key in the JWK file, and only this key is returned. In addition, any private key information is omitted by default. oct keys, which contain secret keys, are not returned at all.

Betroffene Software

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

PlattformPaketAnfällige VersionenBehoben in
Java / Kotlin (Maven) org.apache.cxf:apache-cxf < 3.2.12, >= 3.3.0, < 3.3.5 3.2.12, 3.3.5
Java / Kotlin (Maven) org.apache.cxf:cxf < 3.2.12, >= 3.3.0, < 3.3.5 3.2.12, 3.3.5

Verweise

CVSS-Wert 7.5/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Schwäche (CWE)
CWE-522
Plattform
Java / Kotlin (Maven)
Paket
org.apache.cxf:apache-cxf, org.apache.cxf:cxf
Veröffentlicht
22.05.2020
Aktualisiert
11.10.2026 11:21

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-42f2-f9vc-6365 - CC BY 4.0

Schwachstellenhistorie: org.apache.cxf:apache-cxf

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
7
Erste → letzte
10.2018 01.2022
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 4
  • Mittel 3

Veröffentlichungen pro Jahr

  1. 2018: 1
  2. 2019: 1
  3. 2020: 2
  4. 2021: 2
  5. 2022: 1
  6. 2023: 0
  7. 2024: 0
  8. 2025: 0
  9. 2026: 0
  1. Hoch · 7.5 CVE-2021-30468 >= 3.4.0, < 3.4.4, < 3.3.11 3.4.4, 3.3.11
  2. Hoch · 7.5 CVE-2021-22696 >= 3.4.0, < 3.4.3, < 3.3.10 3.4.3, 3.3.10
  3. Mittel · 6.1 CVE-2020-13954 < 3.3.8, >= 3.4.0, < 3.4.1 3.3.8, 3.4.1
  4. Mittel · 6.1 CVE-2019-17573 < 3.2.12, >= 3.3.0, < 3.3.5 3.2.12, 3.3.5
  5. Private key leak in Apache CXF dieser Eintrag
    Hoch · 7.5 CVE-2019-12423 < 3.2.12, >= 3.3.0, < 3.3.5 3.2.12, 3.3.5
  6. Mittel · 6.5 CVE-2019-12406 < 3.2.11, >= 3.3.0, < 3.3.4 3.2.11, 3.3.4
  7. Hoch · 8.1 CVE-2018-8039 >= 3.2.0, < 3.2.5, < 3.1.16 3.2.5, 3.1.16

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.