CVE-2021-3918
9.8critical
Prototype Pollution in kriszyp/json-schema
- Severity
- 9.8critical CVSS:3.0 by @huntrdev
- Exploit likelihood
- 3.83% (higher than 90% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntrdev
- Also known as
- GHSA-896r-f27r-55mw
Description
json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kriszyp kriszyp/json-schema | from unspecified up to 0.3.0 | CVE List |
| json-schema (npm) | before 0.4.0 | GitHub Advisory Database |
| json-schema_project json-schema | before 0.4.0 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| @huntrdev | 9.8critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
GitHub Advisory Database
json-schema before version 0.4.0 is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
NVD (es)
json-schema es vulnerable a la Modificación Indebida de Atributos de Prototipos de Objetos ('Contaminación de Prototipos')
References
| https://huntr.dev/bounties/bb6ccd63-f505-4e3a-b55f-cd2662c261a9 | exploit, issue-tracking, patch, third-party-advisory, web | |
| https://github.com/kriszyp/json-schema/commit/22f146111f541d9737e832823699ad3528ca7741 | 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/ | ||
| 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 | |
| https://security.netapp.com/advisory/ntap-20250117-0004 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3918 changed 2025-01-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-896r-f27r-55mw changed 2025-01-17 | CC-BY-4.0 |
| NVD | CVE-2021-3918 changed 2026-06-17 | Public domain |