CVE-2021-3757CWE-1321

Prototype Pollution in immerjs/immer

High · published September 2, 2021

CVSS v3.0
7.5
EPSS
2%
Percentile
76.3
In the wild
Unconfirmed
What it is

⚡ A sneaky little flaw in immer lets attackers tamper with object properties without breaking a sweat! Think of it like an unsuspecting waiter who changes your order because they can — the kitchen ends up making exactly what the attacker wants without verifying the request. This kind of mischief could fundamentally change how applications function! An attacker could craft malicious requests to modify object properties, potentially leading to severe application behavior changes, manipulation of sensitive data, or even denial of service. This isn't just a minor inconvenience; it could effectively throw the whole system into chaos!

Put simply

Think of it like an unsuspecting waiter who changes your order because they can — the kitchen ends up making exactly what the attacker wants without verifying the request. This kind of mischief could fundamentally change how applications function! This Prototype Pollution vulnerability allows attackers to modify the prototype of built-in objects, resulting in unexpected behavior in applications that rely on these objects.

What to do

An attacker could craft malicious requests to modify object properties, potentially leading to severe application behavior changes, manipulation of sensitive data, or even denial of service. This isn't just a minor inconvenience; it could effectively throw the whole system into chaos! To fix this vulnerability, developers should upgrade to immer version 8.0.1 or later. Additionally, review your object handling logic to ensure that no unexpected prototype modifications can occur. Implement input validation to further safeguard your applications. You've got this! With just a few updates, you'll be on your way to security hero status! 🛡️

The record
Technical detail
CVSS v3.0
7.5 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01651 · 76.3th percentile
Weakness
CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Published
2021-09-02T12:06Z
EPSS history
Timeline
  • 02 SEP 12:06Z
    Prototype Pollution in immerjs/immer
    cvelistv5