CVE Vulnerabilities

CVE-2020-15366

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Published: Jul 15, 2020 | Modified: Nov 21, 2024
CVSS 3.x
5.6
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
5.6 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

Weakness

The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

Affected Software

NameVendorStart VersionEnd Version
AjvAjv.js6.12.2 (including)6.12.2 (including)
Red Hat Automation Hub 4.2 for RHEL 7RedHatautomation-hub-0:4.2.2-1.el7pc*
Red Hat Automation Hub 4.2 for RHEL 7RedHatpython3-django-0:2.2.18-1.el7pc*
Red Hat Automation Hub 4.2 for RHEL 7RedHatpython-bleach-0:3.3.0-1.el7pc*
Red Hat Automation Hub 4.2 for RHEL 7RedHatpython-bleach-allowlist-0:1.0.3-1.el7pc*
Red Hat Automation Hub 4.2 for RHEL 7RedHatpython-galaxy-importer-0:0.2.15-1.el7pc*
Red Hat Automation Hub 4.2 for RHEL 7RedHatpython-galaxy-ng-0:4.2.2-1.el7pc*
Red Hat Automation Hub 4.2 for RHEL 7RedHatpython-pulp-ansible-1:0.5.6-1.el7pc*
Red Hat Automation Hub 4.2 for RHEL 8RedHatautomation-hub-0:4.2.2-1.el8pc*
Red Hat Automation Hub 4.2 for RHEL 8RedHatpython3-django-0:2.2.18-1.el8pc*
Red Hat Automation Hub 4.2 for RHEL 8RedHatpython-bleach-0:3.3.0-1.el8pc*
Red Hat Automation Hub 4.2 for RHEL 8RedHatpython-bleach-allowlist-0:1.0.3-1.el8pc*
Red Hat Automation Hub 4.2 for RHEL 8RedHatpython-galaxy-importer-0:0.2.15-1.el8pc*
Red Hat Automation Hub 4.2 for RHEL 8RedHatpython-galaxy-ng-0:4.2.2-1.el8pc*
Red Hat Automation Hub 4.2 for RHEL 8RedHatpython-pulp-ansible-1:0.5.6-1.el8pc*
Red Hat Enterprise Linux 8RedHatnodejs:12-8030020201124152102.229f0a1c*
Red Hat Enterprise Linux 8RedHatnodejs:10-8030020210118191659.229f0a1c*
Red Hat Enterprise Linux 8RedHatnodejs:14-8030020210126165503.229f0a1c*
Red Hat OpenShift Container Platform 4.6RedHatopenshift4/ose-console:v4.6.0-202010100121.p0*
Red Hat OpenShift Container Platform 4.6RedHatopenshift4/ose-prometheus:v4.6.0-202009290409.p0*
Red Hat Quay 3RedHatquay/quay-rhel8:v3.6.0-62*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-nodejs12-nodejs-0:12.19.1-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-nodejs14-nodejs-0:14.15.4-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-nodejs10-nodejs-0:10.23.1-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-nodejs12-nodejs-0:12.19.1-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-nodejs14-nodejs-0:14.15.4-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-nodejs10-nodejs-0:10.23.1-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSRedHatrh-nodejs12-nodejs-0:12.19.1-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSRedHatrh-nodejs14-nodejs-0:14.15.4-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSRedHatrh-nodejs10-nodejs-0:10.23.1-2.el7*
Node-ajvUbuntubionic*
Node-ajvUbuntueoan*
Node-ajvUbuntufocal*
Node-ajvUbuntutrusty*

Potential Mitigations

References