CVE-2019-12423

Vulnerability in Apache CXF

No CVSS score yet EPSS 6.06%

Published 16 Jan 2020 Updated 4 Aug 2024 CNA: apache

Check your servers for CVE-2019-12423

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-12423 affects cxf, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 6.06%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 94.1% of all scored CVEs. Scores of 28 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
CXF
affected All versions of Apache CXF prior to 3.3.5 and 3.2.12.

Is my server affected?

Find the installed version of cxf and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i cxf
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-12423 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-12423

RHEL, Rocky, Alma, Fedora

rpm -q cxf
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-12423

Alpine

apk list --installed | grep -i cxf

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2019-12423
trivy image --scanners vuln IMAGE | grep CVE-2019-12423

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2019-12423 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.