XML External Entity (XXE) Injection Affecting expat package, versions <2.2.7-r0
Threat Intelligence
EPSS
58.2% (98th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE320-EXPAT-7008941
- published 23 May 2024
- disclosed 24 Jun 2019
Introduced: 24 Jun 2019
CVE-2018-20843 Open this link in a new tabHow to fix?
Upgrade Alpine:3.20
expat
to version 2.2.7-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream expat
package and not the expat
package as distributed by Alpine
.
See How to fix?
for Alpine:3.20
relevant fixed versions and status.
In libexpat in Expat before 2.2.7, XML input including XML names that contain a large number of colons could make the XML parser consume a high amount of RAM and CPU resources while processing (enough to be usable for denial-of-service attacks).
References
- https://seclists.org/bugtraq/2019/Jun/39
- https://support.f5.com/csp/article/K51011533
- https://www.tenable.com/security/tns-2021-11
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20843
- https://www.debian.org/security/2019/dsa-4472
- https://lists.debian.org/debian-lts-announce/2019/06/msg00028.html
- https://security-tracker.debian.org/tracker/CVE-2018-20843
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CEJJSQSG3KSUQY4FPVHZ7ZTT7FORMFVD/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IDAUGEB3TUP6NEKJDBUBZX7N5OAUOOOK/
- https://security.gentoo.org/glsa/201911-08
- https://github.com/libexpat/libexpat/pull/262/commits/11f8838bf99ea0a6f0b76f9760c43704d00c4ff6
- https://github.com/libexpat/libexpat/issues/186
- https://github.com/libexpat/libexpat/pull/262
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5226
- https://github.com/libexpat/libexpat/blob/R_2_2_7/expat/Changes
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://security.netapp.com/advisory/ntap-20190703-0001/
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00039.html
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2018-20843
- https://usn.ubuntu.com/4040-1/
- https://usn.ubuntu.com/4040-2/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CEJJSQSG3KSUQY4FPVHZ7ZTT7FORMFVD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IDAUGEB3TUP6NEKJDBUBZX7N5OAUOOOK/
CVSS Scores
version 3.1