Prototype pollution in set-value - CVE-2019-10747

 

Prototype pollution in set-value - CVE-2019-10747

Published: August 28, 2019


Vulnerability identifier: #VU20426
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-10747
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the "set-value" function fails to validate which Object properties it updates.  A remote attacker can modify the prototype of Object using any of the constructor, prototype and "_proto_ payloads", causing the addition or modification of an existing property on all objects, trigger resource exhaustion and perform a denial of service attack.


Affected software

set-value
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Fedora
nodejs-set-value
rh-nodejs12-nodejs-nodemon (Red Hat package)
rh-nodejs12-nodejs (Red Hat package)
Red Hat Advanced Cluster Management for Kubernetes
IBM Cloud Automation Manager
OpenShift Data Foundation (formerly OpenShift Container Storage)

How to mitigate CVE-2019-10747

Install updates from vendor's website.

set-value - addressed in versions 2.0.1, 3.0.1
nodejs-set-value - addressed in versions 2.0.1-1.fc30, 2.0.1-1.fc31
rh-nodejs12-nodejs-nodemon (Red Hat package) - update to 2.0.3-1.el7
Red Hat Advanced Cluster Management for Kubernetes - update to 2.2.10
IBM Cloud Automation Manager - update to 3.2.1.4
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.11.0
rh-nodejs12-nodejs (Red Hat package) - update to 12.20.1-1.el7

External References

Related Security Bulletins