Prototype pollution in json-pointer - CVE-2022-4742
Published: March 31, 2023
Vulnerability identifier: #VU74260
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-4742
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
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.
Affected software
json-pointer
API Portal
IBM Watson Machine Learning Accelerator
Red Hat Integration - Service Registry
API Portal
IBM Watson Machine Learning Accelerator
Red Hat Integration - Service Registry
How to mitigate CVE-2022-4742
Install update from vendor's website.
API Portal - update to February 2022
IBM Watson Machine Learning Accelerator - addressed in versions 2.2.6, 2.3.5, 3.1.0
Red Hat Integration - Service Registry - update to 2.4.3
IBM Watson Machine Learning Accelerator - addressed in versions 2.2.6, 2.3.5, 3.1.0
Red Hat Integration - Service Registry - update to 2.4.3