mittel5.3
CVE-2023-0842
xml2js is vulnerable to prototype pollution
Auswirkung
xml2js versions before 0.5.0 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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | xml2js | < 0.5.0 | 0.5.0 |
Betroffene Produkte · Xml2js Project
| Produkt | Betroffene Versionen |
|---|---|
| Xml2js | Version 0.4.23 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://fluidattacks.com/advisories/myers/
- https://github.com/Leonidas-from-XIV/node-xml2js/
- https://github.com/Leonidas-from-XIV/node-xml2js/releases/tag/0.6.2
- https://lists.debian.org/debian-lts-announce/2024/03/msg00013.html
- https://github.com/advisories/GHSA-776f-qx25-q3cc
- https://nvd.nist.gov/vuln/detail/CVE-2023-0842
- https://github.com/Leonidas-from-XIV/node-xml2js/issues/663
- https://github.com/Leonidas-from-XIV/node-xml2js/pull/603/commits/581b19a62d88f8a3c068b5a45f4542c2d6a495a5
- https://fluidattacks.com/advisories/myers
- https://github.com/Leonidas-from-XIV/node-xml2js