cve.bz

CVE-2020-15366 ajv.js ajv: Prototype Pollution

5.6 mediumEPSS 2.3%Fix available

Medium (5.6) in ajv.js ajv. EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in ajv 6.12.3.

On this page
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

CVSS 3.1

5.6 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15366 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15366?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15366?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15366 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ajv.js:ajv6.12.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v88g-cgmw-v5xwnpmajv<6.12.36.12.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-ajv6.12.4-1DEBIAN-CVE-2020-15366
Ubuntu18.04:LTS, 20.04:LTSnode-ajvno fix listedUBUNTU-CVE-2020-15366
Red Hatansible_automation_platform:4.2::el7automation-hub, python-galaxy-ng, python3-galaxy-ng0:4.2.2-1.el7pcRHSA-2021:0781
Red Hatansible_automation_platform:4.2::el7python-bleach, python3-bleach0:3.3.0-1.el7pcRHSA-2021:0781
Red Hatansible_automation_platform:4.2::el7python-bleach-allowlist, python3-bleach-allowlist0:1.0.3-1.el7pcRHSA-2021:0781
Red Hatansible_automation_platform:4.2::el7python-galaxy-importer, python3-galaxy-importer0:0.2.15-1.el7pcRHSA-2021:0781
Red Hatansible_automation_platform:4.2::el7python-pulp-ansible, python3-pulp-ansible1:0.5.6-1.el7pcRHSA-2021:0781
Red Hatansible_automation_platform:4.2::el7python3-django0:2.2.18-1.el7pcRHSA-2021:0781
Red Hatansible_automation_platform:4.2::el8automation-hub, python-galaxy-ng, python3-galaxy-ng0:4.2.2-1.el8pcRHSA-2021:0781
Red Hatansible_automation_platform:4.2::el8python-bleach, python3-bleach0:3.3.0-1.el8pcRHSA-2021:0781
Red Hatansible_automation_platform:4.2::el8python-bleach-allowlist, python3-bleach-allowlist0:1.0.3-1.el8pcRHSA-2021:0781
Red Hatansible_automation_platform:4.2::el8python-galaxy-importer, python3-galaxy-importer0:0.2.15-1.el8pcRHSA-2021:0781
Red Hatansible_automation_platform:4.2::el8python-pulp-ansible, python3-pulp-ansible1:0.5.6-1.el8pcRHSA-2021:0781
Red Hatansible_automation_platform:4.2::el8python3-django0:2.2.18-1.el8pcRHSA-2021:0781
18 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8nodejs-nodemon1.18.3-1.module_el8.3.0+2023+d2377ea3ALSA-2020:5499 ALSA-2021:0548
AlmaLinux8nodejs-nodemon1.18.3-1.module_el8.3.0+2047+b07ac28eALSA-2020:5499 ALSA-2021:0548
AlmaLinux8nodejs-nodemon2.0.3-1.module_el8.4.0+2521+c668cc9fALSA-2021:0551
AlmaLinux8nodejs-packaging17-3.module_el8.3.0+2023+d2377ea3ALSA-2020:5499 ALSA-2021:0548
AlmaLinux8nodejs-packaging17-3.module_el8.4.0+2224+b07ac28eALSA-2020:5499 ALSA-2021:0548
AlmaLinux8nodejs-packaging17-3.module_el8.4.0+2521+c668cc9fALSA-2020:5499 ALSA-2021:0548
AlmaLinux8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2021:0551
AlmaLinux8nodejs-packaging23-3.module_el8.5.0+254+b4526b16ALSA-2021:0551
Rocky Linux8nodejs-nodemon0:1.18.3-1.module+el8.3.0+101+f84c7154RLSA-2020:5499 RLSA-2021:0548
Rocky Linux8nodejs-nodemon0:2.0.3-1.module+el8.3.0+100+234774f7RLSA-2021:0551
Rocky Linux8nodejs-nodemon0:2.0.3-1.module+el8.4.0+638+5344c6f7RLSA-2021:0551
Rocky Linux8nodejs-nodemon0:2.0.3-1.module+el8.6.0+982+9fdca2d4RLSA-2021:0551
Rocky Linux8nodejs-packaging0:17-3.module+el8.3.0+101+f84c7154RLSA-2020:5499 RLSA-2021:0548
Rocky Linux8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2021:0551
Rocky Linux8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2021:0551
Rocky Linux8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2021:0551

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In both OpenShift Container Platform (OCP) and OpenShift ServiceMesh (OSSM), the affected containers are behind OpenShift OAuth authentication. This restricts access to the vulnerable nodejs-ajv library to authenticated users only, therefore the impact is low.

ProductPackageStateAdvisory
Red Hat Automation Hub 4.2 for RHEL 7automation-hub-0:4.2.2-1.el7pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 7python3-django-0:2.2.18-1.el7pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 7python-bleach-0:3.3.0-1.el7pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 7python-bleach-allowlist-0:1.0.3-1.el7pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 7python-galaxy-importer-0:0.2.15-1.el7pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 7python-galaxy-ng-0:4.2.2-1.el7pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 7python-pulp-ansible-1:0.5.6-1.el7pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 8automation-hub-0:4.2.2-1.el8pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 8python3-django-0:2.2.18-1.el8pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 8python-bleach-0:3.3.0-1.el8pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 8python-bleach-allowlist-0:1.0.3-1.el8pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 8python-galaxy-importer-0:0.2.15-1.el8pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 8python-galaxy-ng-0:4.2.2-1.el8pcFixed 2021-03-09RHSA-2021:0781
Red Hat Automation Hub 4.2 for RHEL 8python-pulp-ansible-1:0.5.6-1.el8pcFixed 2021-03-09RHSA-2021:0781
Red Hat Enterprise Linux 8nodejs:12-8030020201124152102.229f0a1cFixed 2020-12-15RHSA-2020:5499
OpenShift Service Mesh 1kialiFix deferred
OpenShift Service Mesh 1servicemesh-grafanaFix deferred
Red Hat OpenShift Container Platform 3.11openshift3/ose-consoleFix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-grafanaFix deferred
Red Hat OpenShift Virtualization 1kubevirt-web-uiWill not fix
14 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-15366.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON