CVE-2022-37616
Xmldom Project Xmldom vulnerability
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."
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Xmldom, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Xmldom Project Xmldom runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1 · Patch
- github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3 · Patch
- github.com/xmldom/xmldom/issues/436 · Patch
- users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf · Third Party Advisory
- dl.acm.org/doi/abs/10.1145/3488932.3497769 · Third Party Advisory
- dl.acm.org/doi/pdf/10.1145/3488932.3497769 · Third Party Advisory
- github.com/xmldom/xmldom/issues/436#issuecomment-1319412826 · Third Party Advisory
- github.com/xmldom/xmldom/issues/436#issuecomment-1327776560 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-37616
- cve.org/CVERecord?id=CVE-2022-37616
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.