CVE-2021-3918
Aliases:GHSA-896r-f27r-55mw
Advisory lineage Upstream: 0 Downstream: 34
Modified
Published: 13 Nov 2021, 00:00
Last modified:17 Jan 2025, 20:02
Vulnerability Summary
Overall Risk (default)
high
70/100 CVSS Score
9.8 CRITICAL
v3.0 (cve.org)
EPSS Score
1.26% LOW
1% probability +0.01%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
13 Nov 2021, 00:00
Published
Vulnerability first disclosed
17 Jan 2025, 20:02
Last Modified
Vulnerability information updated
Description
json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
CVSS Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v3.0•CRITICAL•Score: 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 1.26%• Percentile: 80%
Techniques & Countermeasures
- CWE-1321•Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
Affected Systems
- debian•debian_linux
10.0
- json-schema_project•json-schema
< 0.4.0
- kriszyp•kriszyp/json-schema
≥ unspecified, ≤ 0.3.0
- Npm•json-schema
< 0.4.0
References (9)
- https://huntr.dev/bounties/bb6ccd63-f505-4e3a-b55f-cd2662c261a9
- https://github.com/kriszyp/json-schema/commit/22f146111f541d9737e832823699ad3528ca7741
- https://lists.debian.org/debian-lts-announce/2022/12/msg00013.html
- https://security.netapp.com/advisory/ntap-20250117-0004/
- https://nvd.nist.gov/vuln/detail/CVE-2021-3918
- https://github.com/kriszyp/json-schema/commit/b62f1da1ff5442f23443d6be6a92d00e65cba93a
- https://github.com/kriszyp/json-schema/commit/f6f6a3b02d667aa4ba2d5d50cc19208c4462abfa
- https://github.com/kriszyp/json-schema
- https://security.netapp.com/advisory/ntap-20250117-0004