Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. uglify-js
  4. ›
  5. CVE-2022-37598

CVE-2022-37598: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

October 20, 2022 (updated November 7, 2023)

Prototype pollution vulnerability in function DEFNODE in ast.js in mishoo UglifyJS 3.13.2 via the name variable in ast.js.

References

  • github.com/mishoo/UglifyJS/blob/352a944868b09c9ce3121a49d4a0bf0afe370a35/lib/ast.js
  • github.com/mishoo/UglifyJS/blob/352a944868b09c9ce3121a49d4a0bf0afe370a35/lib/ast.js
  • github.com/mishoo/UglifyJS/issues/5699
  • nvd.nist.gov/vuln/detail/CVE-2022-37598

Code Behaviors & Features

Detect and mitigate CVE-2022-37598 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 3.13.2

Fixed versions

  • 3.13.3

Solution

Upgrade to version 3.13.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/uglify-js/CVE-2022-37598.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:06 +0000.