Advisory

GHSA-v88g-cgmw-v5xw

Also known as: CVE-2020-15366

Summary

Prototype Pollution in Ajv

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-02-10 23:30 UTC
Modified
2024-06-21 21:33 UTC

Affected packages and fixes

ajv

npm · All systems

Affected

  • introduced 0, fixed 6.12.3 (semver)

Fixed versions

6.12.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences