#VU76520 Prototype pollution in mockery


Published: 2023-05-25

Vulnerability identifier: #VU76520

Vulnerability risk: Critical

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

CVE-ID: CVE-2022-37614

CWE-ID: CWE-1321

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
mockery
Other software / Other software solutions

Vendor: mockery

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.

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

Vulnerable software versions

mockery: All versions


External links
http://github.com/mfncooper/mockery/blob/822f0566fd6d72af8c943ae5ca2aa92e516aa2cf/mockery.js#L119
http://github.com/mfncooper/mockery/blob/822f0566fd6d72af8c943ae5ca2aa92e516aa2cf/mockery.js#L62
http://github.com/mfncooper/mockery/issues/77


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