CVE-2022-37616
CVE-2022-37616
This page contains facts from public vulnerability sources. Check the original advisory before updating.
A prototype pollution vulnerability exists in the function copy in dom.js in the xmldom (published as @xmldom/xmldom) package before 0.8.3 for Node.js via the p variable. NOTE: the vendor states "we are in the process of marking this report as invalid"; however, some third parties takes the position that "A prototype injection/Prototype pollution is not just when global objects are polluted with recursive merge or deep cloning but also when a target object is polluted."
CVSS 9.8 · Critical · EPSS 2.1% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
node-xmldom Debian:12
- Affected ranges
- ECOSYSTEM: < 0.8.3-1
Update to 0.8.3-1
node-xmldom Debian:13
- Affected ranges
- ECOSYSTEM: < 0.8.3-1
Update to 0.8.3-1
node-xmldom Debian:14
- Affected ranges
- ECOSYSTEM: < 0.8.3-1
Update to 0.8.3-1
node-xmldom Ubuntu:20.04:LTS
- Versions
- 0.1.27+ds-1
- Affected ranges
- ECOSYSTEM: < 0.1.27+ds-1+deb10u2build0.20.04.1
Update to 0.1.27+ds-1+deb10u2build0.20.04.1
node-xmldom Ubuntu:22.04:LTS
- Versions
- 0.5.0-1
- 0.7.3-1
- 0.7.5-1
- Affected ranges
- ECOSYSTEM: < 0.7.5-1ubuntu0.22.04.1
Update to 0.7.5-1ubuntu0.22.04.1
Original sources
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3
- https://github.com/xmldom/xmldom/issues/436
- https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqj
- https://lists.debian.org/debian-lts-announce/2022/10/msg00023.html
- https://dl.acm.org/doi/abs/10.1145/3488932.3497769
- https://dl.acm.org/doi/pdf/10.1145/3488932.3497769
- http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560
- https://nvd.nist.gov/vuln/detail/CVE-2022-37616