CVE-2023-0842 xml2js 0.4.23 - Prototype Pollution
MediumCVSS 5.3
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
xml2js version 0.4.23 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the proto property to be edited.
Upgrade path
14 packages: 4 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/node-xml2js(Ubuntu 16.04) | = 0.2.8-1; All versions | No fix listed | No fix yet |
| ubuntu/node-xml2js(Ubuntu 18.04) | = 0.2.8-1; All versions | No fix listed | No fix yet |
| ubuntu/node-xml2js(Ubuntu 20.04) | = 0.2.8-1; All versions | No fix listed | No fix yet |
| ubuntu/node-xml2js(Ubuntu 22.04) | = 0.2.8-1.1; = 0.4.23+~cs15.4.0+dfsg-2; All versions | No fix listed | No fix yet |
| ubuntu/node-xml2js(Ubuntu 24.04) | = 0.6.2+~cs15.1.1-1; All versions | No fix listed | No fix yet |
| ubuntu/node-xml2js(Ubuntu 25.10) | = 0.6.2+~cs15.1.1-1; All versions | No fix listed | No fix yet |
| ubuntu/node-xml2js(Ubuntu 26.04) | = 0.6.2+~cs15.1.1-1; All versions | No fix listed | No fix yet |
| ubuntu/node-xml2js(Ubuntu 26.10) | = 0.6.2+~cs15.1.1-1; All versions | No fix listed | No fix yet |
| debian/node-xml2js(Debian 12) | < 0.4.23+~cs15.4.0+dfsg-7 | 0.4.23+~cs15.4.0+dfsg-7 | Fixed |
| debian/node-xml2js(Debian 13) | < 0.4.23+~cs15.4.0+dfsg-7 | 0.4.23+~cs15.4.0+dfsg-7 | Fixed |
| debian/node-xml2js(Debian 14) | < 0.4.23+~cs15.4.0+dfsg-7 | 0.4.23+~cs15.4.0+dfsg-7 | Fixed |
| npm xml2js(npm) | < 0.5.0 | 0.5.0 | Fixed |
| npm node-xml2js(npm) | = 0.4.23 | No fix listed | Versions listed |
| xml2js project xml2js | = 0.4.23 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm xml2js(npm) | < 0.5.0 | 0.5.0 |
| debian/node-xml2js(Debian:12) | < 0.4.23+~cs15.4.0+dfsg-7 | 0.4.23+~cs15.4.0+dfsg-7 |
| debian/node-xml2js(Debian:13) | < 0.4.23+~cs15.4.0+dfsg-7 | 0.4.23+~cs15.4.0+dfsg-7 |
| debian/node-xml2js(Debian:14) | < 0.4.23+~cs15.4.0+dfsg-7 | 0.4.23+~cs15.4.0+dfsg-7 |
| npm node-xml2js(npm) | = 0.4.23 | No fix listed |
| ubuntu/node-xml2js(Ubuntu:22.04) | All versions | No fix listed |
| xml2js project xml2js | = 0.4.23 | No fix listed |
| ubuntu/node-xml2js(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-xml2js(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-xml2js(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/node-xml2js(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/node-xml2js(Ubuntu:16.04) | = 0.2.8-1 | No fix listed |
| ubuntu/node-xml2js(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/node-xml2js(Ubuntu:18.04) | = 0.2.8-1 | No fix listed |
| ubuntu/node-xml2js(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/node-xml2js(Ubuntu:20.04) | = 0.2.8-1 | No fix listed |
| ubuntu/node-xml2js(Ubuntu:22.04) | = 0.2.8-1.1 | No fix listed |
| ubuntu/node-xml2js(Ubuntu:22.04) | = 0.4.23+~cs15.4.0+dfsg-2 | No fix listed |
| ubuntu/node-xml2js(Ubuntu:24.04) | = 0.6.2+~cs15.1.1-1 | No fix listed |
| ubuntu/node-xml2js(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/node-xml2js(Ubuntu:25.10) | = 0.6.2+~cs15.1.1-1 | No fix listed |
| ubuntu/node-xml2js(Ubuntu:26.10) | = 0.6.2+~cs15.1.1-1 | No fix listed |
| ubuntu/node-xml2js(Ubuntu:26.04) | = 0.6.2+~cs15.1.1-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- github.com patch
- fluidattacks.com exploit issue-tracking third-party-advisory
- github.com issue-tracking product
- [debian-lts-announce] 20240314 [SECURITY] [DLA 3760-1] node-xml2js security update mailing-list
- github.com
- Debian Security Tracker CVE-2023-0842 vendor-advisory
- github.com patch
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking