Prototype pollution in mockery - CVE-2022-37614

 

Prototype pollution in mockery - CVE-2022-37614

Published: May 25, 2023


Vulnerability identifier: #VU76520
CSH Severity: Critical
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Red
CVE-ID: CVE-2022-37614
CWE-ID: CWE-1321
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: mockery
Affected software:
mockery

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to prototype pollution in the mockery.js script. A remote attacker can pass specially crafted input to the application to execute arbitrary code on the system.


How to mitigate CVE-2022-37614

Cybersecurity Help is currently unaware of any official solution to address this vulnerability..

Sources