CVE-2020-15366: Medium severity Ajv.js Ajv vulnerability
A flaw was found in nodejs-ajv. 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.
Other sources
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 Software
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the vulnerability ID?
The vulnerability ID is CVE-2020-15366.
What is the severity of CVE-2020-15366?
The severity of CVE-2020-15366 is medium, with a severity value of 5.6.
What is the affected software for CVE-2020-15366?
The affected software for CVE-2020-15366 includes nodejs-ajv versions up to 6.12.3.
How can I fix the vulnerability in nodejs-ajv?
To fix the vulnerability in nodejs-ajv, upgrade to version 6.12.3.
Where can I find more information about CVE-2020-15366?
You can find more information about CVE-2020-15366 in the following references: [Link 1](https://github.com/ajv-validator/ajv/releases/tag/v6.12.3), [Link 2](https://hackerone.com/bugs?subject=user&report_id=894259), [Link 3](https://github.com/ajv-validator/ajv/commit/988982d3fde08e3ea074e8942442834e78c45587).