Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') The advisory has been revoked - it doesn't affect any version of package mozjs60  (opens in a new tab)


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-CENTOS8-MOZJS60-5498548
  • published6 May 2023
  • disclosed5 Apr 2023

Introduced: 5 Apr 2023

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

Amendment

The Centos security team deemed this advisory irrelevant for Centos:8.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mozjs60 package and not the mozjs60 package as distributed by Centos.

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.