CVE-2021-3918
CRITICAL 9.8CVSS 3.1json-schema is vulnerable to Prototype Pollution
json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
- Published
- 13 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-1321CWE-915
- Also known as
- GHSA-896r-f27r-55mw
- Sources
- NVDJSONOSV GHSA-896r-f27r-55mwJSON
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 | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | json-schema_project | json-schemacpe:2.3:a:json-schema_project:json-schema:*:*:*:*:*:*:*:* |
< 0.4.0 | 0.4.0 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | npm | json-schema | < 0.4.0 | 0.4.0 |
References
- https://github.com/kriszyp/json-schema/commit/22f146111f541d9737e832823699ad3528ca7741 · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/bb6ccd63-f505-4e3a-b55f-cd2662c261a9 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/12/msg00013.html · Mailing List, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20250117-0004/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3918 · ADVISORY
- https://github.com/kriszyp/json-schema/commit/b62f1da1ff5442f23443d6be6a92d00e65cba93a · WEB
- https://github.com/kriszyp/json-schema/commit/f6f6a3b02d667aa4ba2d5d50cc19208c4462abfa · WEB
- https://github.com/kriszyp/json-schema · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 13 Nov 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 19 Nov 2021)