VDB

CVE-2020-15366

CVE-2020-15366 PUBLISHED CVSS 5.599999904632568 MEDIUM

Prototype Pollution in Ajv

Reported by mitre · Published July 15, 2020

ajv is fixed in 6.12.3 (npm)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ajvnpm6.12.3

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
ajv.jsajv
n/an/a*
npmajv6.12.2

Timeline

  • Jul 15, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Apr 4, 2022 CVE Updated
  • Mar 9, 2026 Security Advisory (24 in total, the first dated here)
  • Sep 4, 2026 Coalition ESS Score
  • Oct 19, 2026 Distribution Patch (21 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-15366
vulnetix vdb fixes CVE-2020-15366

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-15366/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›