CVE-2022-4742: json-pointer index.js set prototype pollution
A vulnerability, which was classified as critical, has been found in json-pointer up to 0.6.1. Affected by this issue is the function set of the file index.js. The manipulation leads to improperly controlled modification of object prototype attributes ('prototype pollution'). The attack may be launched remotely. Upgrading to version 0.6.2 is able to address this issue. The patch is identified as 859c9984b6c407fc2d5a0a7e47c7274daa681941. It is recommended to upgrade the affected component. VDB-216794 is the identifier assigned to this vulnerability.
Other sources
A vulnerability, which was classified as critical, has been found in json-pointer. Affected by this issue is the function set of the file index.js. The manipulation leads to improperly controlled modification of object prototype attributes ('prototype pollution'). The attack may be launched remotely. The name of the patch is 859c9984b6c407fc2d5a0a7e47c7274daa681941. It is recommended to apply a patch to fix this issue. VDB-216794 is the identifier assigned to this vulnerability.
json-pointer could allow a remote attacker to execute arbitrary code on the system, caused by a prototype pollution flaw in the index.js script. By adding or modifying properties of Object.prototype using a proto or constructor payload, an attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service condition on the system.
— IBM
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2022-4742?
CVE-2022-4742 is classified as a critical vulnerability.
How do I fix CVE-2022-4742?
To fix CVE-2022-4742, upgrade json-pointer to version 0.6.2 or later.
What type of vulnerability is CVE-2022-4742?
CVE-2022-4742 is a 'prototype pollution' vulnerability affecting object prototype attributes.
Which versions of json-pointer are affected by CVE-2022-4742?
CVE-2022-4742 affects json-pointer versions up to 0.6.1.
Which products are affected by CVE-2022-4742?
CVE-2022-4742 affects json-pointer as well as IBM Security QRadar EDR versions up to 3.12.