{"id":"CVE-2022-4742","aliases":["CVE-2022-4742","GHSA-6xrf-q977-5vgc"],"related":[],"kind":"vulnerability","state":"published","title":"json-pointer index.js set prototype pollution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad ha sido encontrada en json-pointer y clasificada como crítica. La función set del archivo index.js es afectada por esta vulnerabilidad. La manipulación conduce a una modificación controlada inadecuadamente de los atributos del prototipo del objeto (\"contaminación del prototipo\"). El ataque puede lanzarse de forma remota. El nombre del parche es 859c9984b6c407fc2d5a0a7e47c7274daa681941. Se recomienda aplicar un parche para solucionar este problema. VDB-216794 es el identificador asignado a esta vulnerabilidad.","source":"nvd"}],"published":"2022-12-26T07:09:37.972Z","modified":"2026-06-17T05:21:42.653Z","severity":{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"0.6.0","status":"affected"},{"version":"0.6.1","status":"affected"}],"product":"json-pointer","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.6.2"}],"ecosystem":"npm","package":"json-pointer","purl":"pkg:npm/json-pointer","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2022-2-17"}],"vendor":"json-pointer_project","product":"json-pointer","cpe":"cpe:2.3:a:json-pointer_project:json-pointer:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.216794","tags":["technical-description","third-party-advisory","vdb-entry","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vuldb.com/?ctiid.216794","tags":["permissions-required","signature","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/manuelstofer/json-pointer/pull/36","tags":["issue-tracking","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/manuelstofer/json-pointer/commit/859c9984b6c407fc2d5a0a7e47c7274daa681941","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4742","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/manuelstofer/json-pointer","tags":["package"],"sources":["ghsa"]}],"credits":["hifoz (VulDB User)"],"assigner":"VulDB","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-4742","url":"https://www.cve.org/CVERecord?id=CVE-2022-4742","licence":"CVE Terms of Use","modified":"2024-08-03T01:48:40.272Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6xrf-q977-5vgc","url":"https://github.com/advisories/GHSA-6xrf-q977-5vgc","licence":"CC-BY-4.0","modified":"2024-04-04T13:49:56.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-4742","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4742","licence":"Public domain","modified":"2026-06-17T05:21:42.653Z"}],"updatedAt":"2026-11-25T22:58:17.878Z","epss":{"score":0.01105,"percentile":0.66712,"date":"2026-12-01T12:00:22.000Z"}}