CVE-2022-37598
uglify-js: Prototype pollution vulnerability in function DEFNODE in ast.js
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 20, 2022
Updated · November 1, 2026
Description
A prototype pollution vulnerability was found in UglifyJS, stemming from the DEFNODE function in ast.js via the name variable. Exploiting this flaw involves adding or altering properties of the Object.prototype through a "proto" or constructor payload, enabling an attacker to execute arbitrary code or causing a denial of service on the system.
Statement
OpenShift Service Mesh is closed as wontfix, as @types/uglify-js is hoisted from the storybook, which is a dev dep only and does not affect the production Kiali container. Also, this dependency has been removed completely from OSSM 2.3.
Upstream doesn't consider this as a vulnerability. Refer to the "External References" section for more details.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes