Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ajv
  4. ›
  5. CVE-2020-15366

CVE-2020-15366: Improper Input Validation

July 15, 2020 (updated July 21, 2021)

An issue was discovered in ajv.validate() in Ajv (aka Another JSON Schema Validator). 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)

References

  • nvd.nist.gov/vuln/detail/CVE-2020-15366

Code Behaviors & Features

Detect and mitigate CVE-2020-15366 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 6.12.2

Fixed versions

  • 6.12.3

Solution

Upgrade to version 6.12.3 or above.

Impact 5.6 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

npm/ajv/CVE-2020-15366.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.