CVE-2021-40663

deep.assign npm package 0.0.0-alpha.0 is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

published June 30, 2022

CVSS
—
EPSS
2%
Percentile
78.2
In the wild
Unconfirmed
What it is

💡 The deep.assign npm package version 0.0.0-alpha.0 has a sneaky flaw that lets attackers modify object prototypes — like shifting your furniture without you noticing! Think of it like a restaurant where a waiter forgets to check the allergy list. If they don’t properly verify orders, a guest could receive a dish they’re allergic to, leading to a dangerous situation. In this case, the vulnerability allows for unauthorized changes to object properties, potentially disrupting application behavior. If exploited, this flaw could allow attackers to manipulate the underlying objects of your application, opening the door to unexpected behaviors or even malicious modifications. It’s not the end of the world, but it could lead to some mind-blowingly weird bugs that could affect user experience and security.

Put simply

Think of it like a restaurant where a waiter forgets to check the allergy list. If they don’t properly verify orders, a guest could receive a dish they’re allergic to, leading to a dangerous situation. In this case, the vulnerability allows for unauthorized changes to object properties, potentially disrupting application behavior. This vulnerability in deep.assign allows for improper control over object prototype attributes, enabling attackers to inject or modify properties on all objects, threatening the integrity of the application.

What to do

If exploited, this flaw could allow attackers to manipulate the underlying objects of your application, opening the door to unexpected behaviors or even malicious modifications. It’s not the end of the world, but it could lead to some mind-blowingly weird bugs that could affect user experience and security. To protect yourself, upgrade the deep.assign package to the latest stable version available. Additionally, review your code to ensure you’re not directly using prototype modifications when manipulating objects. ✨ You’ve got this! With a quick update, you can keep your application safe and sound. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01794 · 78.2th percentile
Published
2022-06-30T11:52Z
EPSS history
Timeline
  • 30 JUN 11:52Z
    deep.assign npm package 0.0.0-alpha.0 is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
    cvelistv5