CVE-2017-16931 parser.c in libxml2 before 2.9.5 mishandles parameter-entity references because the NEXTL macro calls the xmlParserHandlePEReference function in the case of a '%' character in a DTD name.
CriticalCVSS 9.8
EPSS 4.6%
- Published
- Updated
- Exploit status
- No public exploit known
Description
parser.c in libxml2 before 2.9.5 mishandles parameter-entity references because the NEXTL macro calls the xmlParserHandlePEReference function in the case of a '%' character in a DTD name.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libxml2(Debian:12) | < 2.9.4+dfsg1-3.1 | 2.9.4+dfsg1-3.1 |
| debian/libxml2(Debian:13) | < 2.9.4+dfsg1-3.1 | 2.9.4+dfsg1-3.1 |
| debian/libxml2(Debian:14) | < 2.9.4+dfsg1-3.1 | 2.9.4+dfsg1-3.1 |
| alpine/libxml2(Alpine:v3.4) | < 2.9.5-r0 | 2.9.5-r0 |
| alpine/libxml2(Alpine:v3.5) | < 2.9.5-r0 | 2.9.5-r0 |
| alpine/libxml2(Alpine:v3.6) | < 2.9.5-r0 | 2.9.5-r0 |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| xmlsoft libxml2 | <= 2.9.4 | No fix listed |
References
- Debian Security Tracker CVE-2017-16931 vendor-advisory
- security.alpinelinux.org vendor-advisory
- [debian-lts-announce] 20171130 [SECURITY] [DLA 1194-1] libxml2 security update mailing-list
- www.oracle.com
- bugzilla.gnome.org permissions-required
- xmlsoft.org release-notes vendor-advisory
- github.com patch third-party-advisory
- cert-portal.siemens.com