CVE-2018-16492CWE-400

A prototype pollution vulnerability was found in module extend <2.0.2, ~<3.0.2 that allows an attacker to inject arbitrary properties onto Object.prototype

published February 1, 2019

CVSS
—
EPSS
3%
Percentile
87.5
In the wild
Unconfirmed
What it is

⚠️ A sneaky prototype pollution vulnerability is hiding in the extend module before version 2.0.2! This flaw allows attackers to inject arbitrary properties into Object.prototype — and that’s a recipe for chaos! Think of it like a mischievous guest at a hotel who sneaks into a room and rearranges all the furniture without anyone noticing. When the occupants return, they find everything in disarray and completely unrecognizable! An attacker could potentially tamper with core JavaScript objects, leading to unpredictable behavior in applications. This could open the door to a range of issues, from data corruption to security bypasses. It’s a slippery slope that could impact application integrity and reliability.

Put simply

Think of it like a mischievous guest at a hotel who sneaks into a room and rearranges all the furniture without anyone noticing. When the occupants return, they find everything in disarray and completely unrecognizable! This prototype pollution vulnerability allows an attacker to inject malicious properties onto Object.prototype, affecting all objects that inherit from it. If an application relies on the integrity of these objects, it could lead to unpredictable and harmful outcomes.

What to do

An attacker could potentially tamper with core JavaScript objects, leading to unpredictable behavior in applications. This could open the door to a range of issues, from data corruption to security bypasses. It’s a slippery slope that could impact application integrity and reliability. Update the extend module to version 2.0.2 or higher to patch this vulnerability. Conduct a code review to ensure no untrusted data is processed. Implement rigorous data validation practices in your application to further mitigate risks. You've got this! By following these steps, you'll fortify your application and keep those tricky attackers at bay! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03050 · 87.5th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2019-02-01T18:00Z
EPSS history
Timeline
  • 01 FEB 18:00Z
    A prototype pollution vulnerability was found in module extend <2.0.2, ~<3.0.2 that allows an attacker to inject arbitrary properties onto Object.prototype
    cvelistv5