CVE-2020-15366

nodejs-ajv: prototype pollution via crafted JSON schema in ajv.validate function

Published Jul 15, 2020 CVSS 3.1 · 5.6 Medium EPSS 2.3% KEV · Not listed
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.)

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-1195 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.)
Github GHSA Github GHSA GHSA-v88g-cgmw-v5xw Prototype Pollution in Ajv
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 1:15 PM
Reserved
Jun 29, 2020, 12:00 AM
Status
Modified
Published
Jul 15, 2020, 8:15 PM
Modified
Jun 17, 2026, 2:56 AM
Severity
Moderate
Public date
Jul 4, 2020, 12:00 AM