CVE-2022-4742
published medium CVSS 3.1 · 6.3json-pointer index.js set prototype pollution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | json-pointer0.6.0 · 0.6.1 | Affected | Not stated | VulDB |
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.
Eine kritische Schwachstelle wurde in json-pointer bis 0.6.1 entdeckt. Hierbei geht es um die Funktion set der Datei index.js. Mittels Manipulieren mit unbekannten Daten kann eine improperly controlled modification of object prototype attributes ('prototype pollution')-Schwachstelle ausgenutzt werden. Umgesetzt werden kann der Angriff über das Netzwerk. Ein Aktualisieren auf die Version 0.6.2 vermag dieses Problem zu lösen. Der Patch wird als 859c9984b6c407fc2d5a0a7e47c7274daa681941 bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.0 | 6.3 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | — |
| 2.0 | 6.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:P/A:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | json-pointer | 0.6.0 (affected)0.6.1 (affected) | VulDB · cna |
Weaknesses
1- CWE-1321 CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
4- https://github.com/manuelstofer/json-pointer/commit/859c9984b6c407fc2d5a0a7e47c7274daa681941
- https://github.com/manuelstofer/json-pointer/pull/36
- VDB-216794 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/?ctiid.216794
- VDB-216794 | json-pointer index.js set prototype pollution https://vuldb.com/?id.216794
Provider assertions
2VulDB · cna
json-pointer index.js set prototype pollution
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b7511eba6ddd8f907b53971529198da2e73183a0f5a244a2dcc8bc7861200e14
- Ingested
- 23 Sep 2026, 08:04:30 UTC
- Source record
- Official CVE record