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


Vulnerability identifier: #VU72014

Vulnerability risk: High

CVSSv4.0: 8 [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: Network

Exploit availability: No

Vulnerable software:
Grunt plugin for Karma
Web applications / JS libraries

Vendor: Karma

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.


Mitigation
Install update from vendor's website.

Vulnerable software versions

Grunt plugin for Karma: 4.0.0 - 4.0.1


External links
https://github.com/karma-runner/grunt-karma/blob/45b925964f55870f375c6e670d9945b223c984f5/tasks/grunt-karma.js#L26
https://github.com/karma-runner/grunt-karma/blob/45b925964f55870f375c6e670d9945b223c984f5/tasks/grunt-karma.js#L109
https://github.com/karma-runner/grunt-karma/issues/311


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability