Skip to content

CVE-2020-15366 Prototype Pollution in Ajv

MediumCVSS 5.6 EPSS 2.3%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.)

Affected products

ProductAffected versionsFixed in
npm ajv(npm) < 6.12.3 6.12.3
debian/node-ajv(Debian:12) < 6.12.4-1 6.12.4-1
debian/node-ajv(Debian:13) < 6.12.4-1 6.12.4-1
debian/node-ajv(Debian:14) < 6.12.4-1 6.12.4-1
ajv.js ajv = 6.12.2 No fix listed
ubuntu/node-ajv(Ubuntu:18.04) All versions No fix listed
ubuntu/node-ajv(Ubuntu:18.04) = 5.0.0-1 No fix listed
ubuntu/node-ajv(Ubuntu:20.04) All versions No fix listed
ubuntu/node-ajv(Ubuntu:20.04) = 6.10.2-1 No fix listed

References