medium5.6
CVE-2020-15366
Prototype Pollution in Ajv
Impact
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.)
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | ajv | < 6.12.3 | 6.12.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ajv.Js | Ajv | Version 6.12.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/ajv-validator/ajv/releases/tag/v6.12.3
- https://github.com/ajv-validator/ajv/tags
- https://hackerone.com/bugs?subject=user&report_id=894259
- https://security.netapp.com/advisory/ntap-20240621-0007/
- https://github.com/advisories/GHSA-v88g-cgmw-v5xw
- https://nvd.nist.gov/vuln/detail/CVE-2020-15366
- https://github.com/ajv-validator/ajv/commit/65b2f7d76b190ac63a0d4e9154c712d7aa37049f
- https://security.netapp.com/advisory/ntap-20240621-0007