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.)
References
Link | Resource |
---|---|
https://hackerone.com/bugs?subject=user&report_id=894259 | Permissions Required |
https://github.com/ajv-validator/ajv/releases/tag/v6.12.3 | Release Notes Third Party Advisory |
https://github.com/ajv-validator/ajv/tags | Third Party Advisory |
Configurations
Information
Published : 2020-07-15 13:15
Updated : 2022-12-02 11:56
NVD link : CVE-2020-15366
Mitre link : CVE-2020-15366
JSON object : View
CWE
CWE-1321
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Products Affected
ajv.js
- ajv