kriszyp/json-schema · Security
json-schema is vulnerable to Prototype Pollution
- GHSA ID
- GHSA-896r-f27r-55mw
- CVE ID
- CVE-2021-3918
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
json-schema before version 0.4.0 is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
CWEs
- CWE-915 · Improperly Controlled Modification of Dynamically-Determined Object Attributes
- CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-3918 ↗
- https://github.com/kriszyp/json-schema/commit/22f146111f541d9737e832823699ad3528ca7741 ↗
- https://huntr.dev/bounties/bb6ccd63-f505-4e3a-b55f-cd2662c261a9 ↗
- https://github.com/kriszyp/json-schema/commit/b62f1da1ff5442f23443d6be6a92d00e65cba93a ↗
- https://github.com/kriszyp/json-schema/commit/f6f6a3b02d667aa4ba2d5d50cc19208c4462abfa ↗
- https://lists.debian.org/debian-lts-announce/2022/12/msg00013.html ↗
- https://security.netapp.com/advisory/ntap-20250117-0004 ↗
- https://github.com/advisories/GHSA-896r-f27r-55mw ↗