CVEfocus › CVE database › CVE-2019-12400

CVE-2019-12400

CVSS 5.5 MediumEPSS 0.8% (higher than 52% of CVEs)Published 2019-08-23Updated 2024-08-04Assigner: apache

In version 2.0.3 Apache Santuario XML Security for Java, a caching mechanism was introduced to speed up creating new XML documents using a static pool of DocumentBuilders. However, if some untrusted code can register a malicious implementation with the thread context class loader first, then this implementation might be cached and re-used by Apache Santuario - XML Security for Java, leading to potential security flaws when validating signed documents, etc. The vulnerability affects Apache Santuario - XML Security for Java 2.0.x releases from 2.0.3 and all 2.1.x releases before 2.1.4.

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
4Fix pending
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libxml-security-javaNot affected
vulnerable_code_not_present
Ubuntu 25.10libxml-security-javaNot affected
vulnerable_code_not_present
Ubuntu 24.04libxml-security-javaNot affected
vulnerable_code_not_present
Ubuntu 22.04libxml-security-javaNot affected
vulnerable_code_not_present
Ubuntu 20.04libxml-security-javaFix pendingUBUNTU-CVE-2019-12400
Ubuntu 18.04libxml-security-javaFix pendingUBUNTU-CVE-2019-12400
Ubuntu 16.04libxml-security-javaFix pendingUBUNTU-CVE-2019-12400
Ubuntu 14.04libxml-security-javaFix pending
Debian 14libxml-security-javaFixed2.1.7-1DEBIAN-CVE-2019-12400
Debian 13libxml-security-javaFixed2.1.7-1DEBIAN-CVE-2019-12400
Debian 12libxml-security-javaFixed2.1.7-1DEBIAN-CVE-2019-12400
Maven libraryorg.apache.santuario:xmlsecFixed2.1.4GHSA-4q98-wr72-h35w

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.