CVE-2020-15366
Aliases:GHSA-v88g-cgmw-v5xw
Advisory lineage Upstream: 0 Downstream: 9
Modified
Published: 15 Jul 2020, 19:14
Last modified:04 Aug 2024, 13:15
Vulnerability Summary
Overall Risk (default)
medium
27/100 CVSS Score
6.8 MEDIUM
v2.0 (nvd)
EPSS Score
0.33% LOW
0% probability -0.02%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
15 Jul 2020, 19:14
Published
Vulnerability first disclosed
04 Aug 2024, 13:15
Last Modified
Vulnerability information updated
Description
An issue was discovered in ajv.validate() in Ajv (aka Another JSON Schema Validator) 6.12.2. A carefully crafted JSON schema could be provided that allows execution of other code by prototype pollution. (While untrusted schemas are recommended against, the worst case of an untrusted schema should be a denial of service, not execution of code.)
CVSS Metrics
- v3.1•MEDIUM•Score: 5.6CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- v2.0•MEDIUM•Score: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.33%• Percentile: 56%
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
- ajv.js•ajv
6.12.2
- Npm•ajv
< 6.12.3
References (8)
- https://hackerone.com/bugs?subject=user&report_id=894259
- https://github.com/ajv-validator/ajv/tags
- https://github.com/ajv-validator/ajv/releases/tag/v6.12.3
- https://security.netapp.com/advisory/ntap-20240621-0007/
- https://nvd.nist.gov/vuln/detail/CVE-2020-15366
- https://github.com/ajv-validator/ajv/commit/65b2f7d76b190ac63a0d4e9154c712d7aa37049f
- https://github.com/ajv-validator/ajv
- https://security.netapp.com/advisory/ntap-20240621-0007