Prototype pollution in Grunt plugin for Karma - CVE-2022-37602

 

Prototype pollution in Grunt plugin for Karma - CVE-2022-37602

Published: February 7, 2023


Vulnerability identifier: #VU72014
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-37602
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Karma
Affected software:
Grunt plugin for Karma

Detailed vulnerability description

The disclosed vulnerability allows a remote attacker to execute arbitrary JavaScript code.

The vulnerability exists due to insufficient sanitization of user-supplied data within the grunt-karma.js. A remote attacker can inject and execute arbitrary JavaScript code on the system.



How to mitigate CVE-2022-37602

Install update from vendor's website.

Sources