CVE-2022-37616
Last modified
CVE-2022-37616 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.". EPSS estimates a 1.54% chance of exploitation in the next 30 days.
Description
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."
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Xmldom Project | Xmldom | <= 0.6.0 | — |
| Xmldom Project | Xmldom | >= 0.7.0, < 0.7.6 | — |
| Xmldom Project | Xmldom | >= 0.8.0, < 0.8.3 | — |
| Xmldom Project | Xmldom | 0.9.0 | Beta1 |
| Debian | Debian Linux | 10.0 | — |
References
- http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdfTechnical Description, Third Party Advisory
- https://dl.acm.org/doi/abs/10.1145/3488932.3497769Technical Description, Third Party Advisory
- https://dl.acm.org/doi/pdf/10.1145/3488932.3497769Third Party Advisory
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436Issue Tracking, Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826Issue Tracking, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560Issue Tracking, Third Party Advisory
- https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqjThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00023.htmlMailing List, Third Party Advisory
- http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdfTechnical Description, Third Party Advisory
- https://dl.acm.org/doi/abs/10.1145/3488932.3497769Technical Description, Third Party Advisory
- https://dl.acm.org/doi/pdf/10.1145/3488932.3497769Third Party Advisory
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436Issue Tracking, Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826Issue Tracking, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560Issue Tracking, Third Party Advisory
- https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqjThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00023.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-37616?
How severe is CVE-2022-37616?
How do I fix CVE-2022-37616?
Are you affected by CVE-2022-37616?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
