CVE-2020-15366

Updated on 15 Jul 2020

Severity

5.6 Medium severity

Details

CVSS score
5.6
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Overview

About vulnerability

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

Details

Affected product:
Acorn , Angular , Next.js , ajv , cross-spawn , semver , webpack
Affected packages:
cross-spawn @ 5.1.0 (+30 more)
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.)

Fixes