CVE-2019-10744: Input Validation
A Prototype Pollution vulnerability was found in lodash. Calling certain methods with untrusted JSON could lead to modifying objects up the prototype chain, including the global Object. A crafted JSON object passed to a vulnerable method could lead to denial of service or data injection, with various consequences.
Other sources
Versions of lodash before 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep allows a malicious user to modify the prototype of Object via {constructor: {prototype: {...}}} causing the addition or modification of an existing property that will exist on all objects.
Recommendation
Update to version 4.17.12 or later.
— GitHub
Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep could be tricked into adding or modifying properties of Object.prototype using a constructor payload.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/jaegerto a version that resolves this vulnerability.Fixed in 0:v1.13.1.redhat7-1.el7 - Upgrade
Upgrade
redhat/kialito a version that resolves this vulnerability.Fixed in 0:v1.0.11.redhat1-1.el7 - Upgrade
Upgrade
redhat/servicemesh-grafanato a version that resolves this vulnerability.Fixed in 0:6.2.2-36.el8 - Upgrade
Upgrade
redhat/ovirt-web-uito a version that resolves this vulnerability.Fixed in 0:1.6.0-1.el7e - Upgrade
Upgrade
npm/lodash.defaultsdeepto a version that resolves this vulnerability.Fixed in 4.6.1 - Upgrade
Upgrade
npm/lodash-amdto a version that resolves this vulnerability.Fixed in 4.17.13 - Upgrade
Upgrade
npm/lodash-esto a version that resolves this vulnerability.Fixed in 4.17.14 - Upgrade
Upgrade
npm/lodashto a version that resolves this vulnerability.Fixed in 4.17.12 - Upgrade
Upgrade
redhat/lodashto a version that resolves this vulnerability.Fixed in 4.17.12 - Upgrade
Upgrade
lodashto a version that resolves this vulnerability.Fixed in 4.17.12
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2019-10744?
CVE-2019-10744 is a vulnerability known as Prototype Pollution that affects versions of lodash before 4.17.12.
How does CVE-2019-10744 affect lodash?
CVE-2019-10744 allows a malicious user to modify the prototype of Object via defaultsDeep in lodash, leading to the addition or modification of properties that will exist on all objects.
What is the severity rating of CVE-2019-10744?
CVE-2019-10744 has a critical severity rating.
Which software versions are affected by CVE-2019-10744?
Versions of lodash lower than 4.17.12 are affected by CVE-2019-10744.
How can I fix CVE-2019-10744?
To fix CVE-2019-10744, update lodash to version 4.17.12 or higher.