Prototype pollution in Grunt plugin for Karma



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-37602
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Grunt plugin for Karma
Web applications / JS libraries

Vendor Karma

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Prototype pollution

EUVDB-ID: #VU72014

Risk: High

CVSSv3.1: 7.9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-37602

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

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

CPE2.3 External links

http://github.com/karma-runner/grunt-karma/blob/45b925964f55870f375c6e670d9945b223c984f5/tasks/grunt-karma.js#L26
http://github.com/karma-runner/grunt-karma/blob/45b925964f55870f375c6e670d9945b223c984f5/tasks/grunt-karma.js#L109
http://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.



###SIDEBAR###