CVE-2018-20843
Reported by mitre · Published June 24, 2019
node-expat is fixed in 2.2.7 (npm)
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| node-expat | npm | 2.2.7 |
| expat-devel | Amazon Linux | 2.1.0-12.amzn2 |
| expat-static | Amazon Linux | 2.1.0-12.amzn2 |
| expat | Alpine | 2.2.7-r0 |
| libxmltok | Ubuntu:Pro:20.04:LTS | 1.2-4ubuntu0.20.04.1~esm4 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
| expat | Ubuntu:16.04:LTS | 2.1.0-7ubuntu0.16.04.4 |
| libxmltok | Ubuntu:Pro:18.04:LTS | 1.2-4ubuntu0.18.04.1~esm4 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| libxmltok | Ubuntu:Pro:16.04:LTS | 1.2-3ubuntu0.16.04.1~esm2 |
| libxmltok | Ubuntu:Pro:22.04:LTS | 1.2-4ubuntu0.22.04.1~esm4 |
| hospitality_res_3700 | oracle | 5.7.6 |
4 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| npm | node-expat | 0 |
| amazon:2 | expat-devel | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | expat-static | 0 |
| alpine | expat | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| n/a | n/a | * |
| amazon:2 | expat | 0 |
Timeline
- Jun 24, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 6, 2026 Distribution Patch (19 in total, the first dated here)
- Mar 6, 2026 Security Advisory (24 in total, the first dated here)
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-20843
vulnetix vdb fixes CVE-2018-20843
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-20843/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-4040-1 vendor-advisoryx_refsource_UBUNTU
- USN-4040-2 vendor-advisoryx_refsource_UBUNTU
- DSA-4472 vendor-advisoryx_refsource_DEBIAN
- 20190628 [SECURITY] [DSA 4472-1] expat security update mailing-listx_refsource_BUGTRAQ
- [debian-lts-announce] 20190629 [SECURITY] [DLA 1839-1] expat security update mailing-listx_refsource_MLIST
- FEDORA-2019-18868e1715 vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-139fcda84d vendor-advisoryx_refsource_FEDORA
- openSUSE-SU-2019:1777 vendor-advisoryx_refsource_SUSE
- GLSA-201911-08 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
…and 3 more