Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2019-12423

HIGH 7.5EPSS 94%

Private key leak in Apache CXF

Also known as GHSA-42f2-f9vc-6365

Mitigation

  • Upgrade org.apache.cxf:apache-cxf to one of 3.2.12, 3.3.5 (or later in the same release line).
  • Upgrade org.apache.cxf:cxf to one of 3.2.12, 3.3.5 (or later in the same release line).

Who should check

  • Projects that depend on Maven package org.apache.cxf:apache-cxf (< 3.2.12)
  • Projects that depend on Maven package org.apache.cxf:cxf (< 3.2.12)
  • Anyone running Apache CXF All versions of Apache CXF prior to 3.3.5 and 3.2.12.

Vulnerability facts

Affected
org.apache.cxf:apache-cxf < 3.2.12; org.apache.cxf:cxf < 3.2.12
Fixed in
3.2.12, 3.3.5
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
6.06% chance of exploitation in 30 days (percentile 94, 2026-11-26)
CWE
CWE-522
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.apache.cxf:apache-cxf< 3.2.123.2.12, 3.3.5osv
Maven org.apache.cxf:cxf< 3.2.123.2.12, 3.3.5osv
Apache CXFAll versions of Apache CXF prior to 3.3.5 and 3.2.12.—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2019-12423. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2019-12423.md
Affected: org.apache.cxf:apache-cxf < 3.2.12; org.apache.cxf:cxf < 3.2.12
Fixed in: 3.2.12, 3.3.5

Steps:
1. Search this machine and project for org.apache.cxf:apache-cxf (Maven), org.apache.cxf:cxf (Maven), Apache CXF: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2019-12423 being exploited?

There is no confirmed exploitation: CVE-2019-12423 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 6.06% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2019-12423?

High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.

Which versions are affected by CVE-2019-12423?

org.apache.cxf:apache-cxf < 3.2.12; org.apache.cxf:cxf < 3.2.12.

Is there a fix for CVE-2019-12423?

Yes. Fixed in 3.2.12, 3.3.5. Upgrade org.apache.cxf:apache-cxf to one of 3.2.12, 3.3.5 (or later in the same release line). Upgrade org.apache.cxf:cxf to one of 3.2.12, 3.3.5 (or later in the same release line).

How do I check if I'm affected by CVE-2019-12423?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors