{"id":"CVE-2021-3918","aliases":["CVE-2021-3918","GHSA-896r-f27r-55mw"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution in kriszyp/json-schema","summary":"json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","summarySource":"cvelist","descriptions":[{"lang":"en","text":"json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","source":"cvelist"},{"lang":"en","text":"json-schema before version 0.4.0 is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').","format":"markdown","source":"ghsa"},{"lang":"es","text":"json-schema es vulnerable a la Modificación Indebida de Atributos de Prototipos de Objetos ('Contaminación de Prototipos')","source":"nvd"}],"published":"2021-11-13T00:00:00.000Z","modified":"2026-06-17T04:05:59.267Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"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"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-915","CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"0.3.0","status":"affected"}],"vendor":"kriszyp","product":"kriszyp/json-schema","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.0"}],"ecosystem":"npm","package":"json-schema","purl":"pkg:npm/json-schema","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.4.0"}],"vendor":"json-schema_project","product":"json-schema","cpe":"cpe:2.3:a:json-schema_project:json-schema:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.dev/bounties/bb6ccd63-f505-4e3a-b55f-cd2662c261a9","tags":["exploit","issue-tracking","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/kriszyp/json-schema/commit/22f146111f541d9737e832823699ad3528ca7741","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00013.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20250117-0004/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3918","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/kriszyp/json-schema/commit/b62f1da1ff5442f23443d6be6a92d00e65cba93a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/kriszyp/json-schema/commit/f6f6a3b02d667aa4ba2d5d50cc19208c4462abfa","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/kriszyp/json-schema","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20250117-0004","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3918","url":"https://www.cve.org/CVERecord?id=CVE-2021-3918","licence":"CVE Terms of Use","modified":"2025-01-17T20:02:47.966Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-896r-f27r-55mw","url":"https://github.com/advisories/GHSA-896r-f27r-55mw","licence":"CC-BY-4.0","modified":"2025-01-17T21:31:38.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3918","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3918","licence":"Public domain","modified":"2026-06-17T04:05:59.267Z"}],"updatedAt":"2026-11-25T22:58:05.554Z","epss":{"score":0.0383,"percentile":0.9035,"date":"2026-12-01T12:00:22.000Z"}}