CVE-2019-10744

Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution

published July 25, 2019

CVSS
—
EPSS
5%
Percentile
92.2
In the wild
Unconfirmed
What it is

⚠️ An unsupervised function could let attackers play puppet master with your objects! If you're using lodash versions before 4.17.12, you're at risk of Prototype Pollution! 🎭 Think of lodash's defaultsDeep function as a recipe that can be tweaked without the chef's permission. If someone swaps in ingredients that shouldn't be there, the whole dish could turn toxic, leading to unexpected results. An attacker could manipulate objects in your application, potentially leading to severe data integrity issues or even allowing them to wreak havoc in other parts of your code. Imagine someone sneaking into your kitchen and adding bizarre ingredients, making your dishes unsafe to serve!

Put simply

Think of lodash's defaultsDeep function as a recipe that can be tweaked without the chef's permission. If someone swaps in ingredients that shouldn't be there, the whole dish could turn toxic, leading to unexpected results. This vulnerability allows attackers to inject properties into Object.prototype via a crafted payload in the defaultsDeep function, potentially impacting all objects in the application.

What to do

An attacker could manipulate objects in your application, potentially leading to severe data integrity issues or even allowing them to wreak havoc in other parts of your code. Imagine someone sneaking into your kitchen and adding bizarre ingredients, making your dishes unsafe to serve! Upgrade lodash to version 4.17.12 or later immediately to close this vulnerability. Also, review your code for any instances where defaultsDeep is used to ensure it’s not being exploited. 🛡️ You’ve got this! With these steps, you can secure your code and keep your application safe! 💪✨

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.05006 · 92.2th percentile
Published
2019-07-25T23:43Z
EPSS history
Timeline
  • 25 JUL 23:43Z
    Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution
    cvelistv5