Name | CVE-2018-1311 |
Description | The Apache Xerces-C 3.0.0 to 3.2.3 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
References | DSA-4814-1 |
NVD severity | medium |
Debian Bugs | 947431 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
xerces-c (PTS) | stretch | 3.1.4+debian-2+deb9u1 | vulnerable |
| stretch (security) | 3.1.4+debian-2+deb9u2 | vulnerable |
| buster | 3.2.2+debian-1 | vulnerable |
| buster (security) | 3.2.2+debian-1+deb10u1 | fixed |
| bullseye, sid | 3.2.3+debian-3 | fixed |
The information below is based on the following data on fixed versions.
Notes
[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