CVE-2022-4742
CRITICAL 9.8CVSS 3.1json-pointer vulnerable to 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.
- Published
- 26 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-6xrf-q977-5vgc
- Sources
- NVDJSONOSV GHSA-6xrf-q977-5vgcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | json-pointer_project | json-pointercpe:2.3:a:json-pointer_project:json-pointer:*:*:*:*:*:*:*:* |
< 2022-2-17 | 2022-2-17 |
| OSV | npm | json-pointer | < 0.6.2 | 0.6.2 |
References
- https://github.com/manuelstofer/json-pointer/commit/859c9984b6c407fc2d5a0a7e47c7274daa681941 · Patch, Third Party Advisory, WEB
- https://github.com/manuelstofer/json-pointer/pull/36 · Patch, Third Party Advisory, WEB
- https://vuldb.com/?ctiid.216794 · Third Party Advisory, WEB
- https://vuldb.com/?id.216794 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-4742 · ADVISORY
- https://github.com/manuelstofer/json-pointer · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 26 Dec 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 26 Dec 2022)