CVE-2018-1311

NameCVE-2018-1311
DescriptionThe Apache Xerces-C 3.0.0 to 3.2.2 XML parser contains a use-after-free error triggered during the scanning of external DTDs. This flaw has not been addressed in the maintained version of the library and has no current mitigation other than to disable DTD processing. This can be accomplished via the DOM using a standard parser feature, or via SAX using the XERCES_DISABLE_DTD environment variable.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs947431

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
xerces-c (PTS)stretch3.1.4+debian-2+deb9u1vulnerable
buster3.2.2+debian-1vulnerable
bullseye, sid3.2.3+debian-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
xerces-csource(unstable)(unfixed)947431

Notes

[buster] - xerces-c <postponed> (Minor issue, revisit when fixed upstream)
[stretch] - xerces-c <postponed> (Minor issue, revisit when fixed upstream)
[jessie] - xerces-c <postponed> (slow upstream interest, proper fix likely to break ABI compatibility)
http://xerces.apache.org/xerces-c/secadv/CVE-2018-1311.txt
https://issues.apache.org/jira/browse/XERCESC-2188
http://vault.centos.org/7.7.1908/updates/Source/SPackages/xerces-c-3.1.1-10.el7_7.src.rpm (fix with memory leak)
Mitigation by setting the XERCES_DISABLE_DTD environment variable

Search for package or bug name: Reporting problems