Prototype pollution in json-pointer



Published: 2023-03-31
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-4742
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
json-pointer
Web applications / Modules and components for CMS

Vendor Manuel Stofer

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Prototype pollution

EUVDB-ID: #VU74260

Risk: Medium

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

CVE-ID: CVE-2022-4742

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

Exploit availability: No

Description

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

The vulnerability exists due to improper input validation when processing slashes. A remote attacker can send a specially crafted request and execute arbitrary JavaScript code on the target system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

json-pointer: 0.0.2 - 0.6.2

External links

http://github.com/manuelstofer/json-pointer/commit/859c9984b6c407fc2d5a0a7e47c7274daa681941
http://github.com/manuelstofer/json-pointer/pull/36
http://vuldb.com/?ctiid.216794
http://vuldb.com/?id.216794


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###