Vulnerability · Published Dec 26, 2022 · Assigned by VulDB
CVE-2022-4742json-pointer index.js set prototype pollution
Medium 6.3
In plain English
A medium-severity prototype pollution in json-pointer. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | json-pointer | 0.6.2 | GHSA-6xrf-q977-5vgc |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | json-pointer | 0.6.00.6.1 |
Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- VDB-216794 | json-pointer index.js set prototype pollution vdb-entry, technical-description
- VDB-216794 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- https://github.com/manuelstofer/json-pointer/pull/36 issue-tracking
- https://github.com/manuelstofer/json-pointer/commit/859c9984b6c407fc2d5a0a7e47c7274daa681941 patch