Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') Affecting node-xml2js package, versions <0.4.23+~cs15.4.0+dfsg-7


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.39% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEXML2JS-5416289
  • published7 Apr 2023
  • disclosed5 Apr 2023

Introduced: 5 Apr 2023

CVE-2023-0842  (opens in a new tab)
CWE-1321  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-xml2js to version 0.4.23+~cs15.4.0+dfsg-7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-xml2js package and not the node-xml2js package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1