EIQ-2019-0032
ID |
EIQ-2019-0032 |
CVE |
|
Description |
set-value enables prototype pollution |
Date |
04 Sep 2019 |
Severity |
4 - CRITICAL |
CVSSv3 score |
9.8 |
Status |
2.5.0 |
Assessment |
set-value versions 2.0.0 and earlier, and versions 3.0.0 and earlier could enable an attacker to inject properties into JavaScript prototype objects (prototype pollution) by exploiting a vulnerability through the set function: set fails to validate updated object properties. An attacker could add or modify object prototype properties of Object.prototype with a constructor payload. An attacker could leverage prototype pollution by remotely executing arbitrary code, or by triggering JavaScript exceptions to carry out a denial of service (DoS) attack. This vulnerability is a false positive: t his dependency is never packaged in our production code. |
Mitigation |
Upgrade set-value to version 2.0.1 or later, or version 3.0.1 or later, as per vendor's recommendation. At the moment, it is not possible to globally upgrade set-value, because it occurs at least once as a sub-dependency. We cannot control these dependencies. We test direct dependencies by scanning fixed builds, and then by checking the corresponding vulnerability reports to verify that they no longer include the addressed vulnerabilities. |
Affected versions |
2.4.0 and earlier |
Notes |
For more information, see: |
< Back to all security issues and mitigation actions
In release notes 2.5.0