CVE-2022-37617

Prototype pollution vulnerability in function resolveShims in resolve-shims.js in thlorenz browserify-shim 3.8.15 via the k variable in resolve-shims.js

published October 11, 2022

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

⚡ A surprise twist in the code! This prototype pollution vulnerability in browserify-shim's resolveShims function could let an attacker mess with your object's properties in ways you definitely don't want! Think of it like a sneaky chef who can replace a key ingredient in your signature dish without anyone noticing — they can change the flavors and make it unpalatable without your approval. If exploited, an attacker could manipulate JavaScript objects in unexpected ways, which could lead to unpredictable behaviors in your application. It might not seem catastrophic at first, but trust me, you wouldn't want your app to start behaving like an out-of-control kitchen!

Put simply

Think of it like a sneaky chef who can replace a key ingredient in your signature dish without anyone noticing — they can change the flavors and make it unpalatable without your approval. This vulnerability arises when the 'k' variable in resolve-shims.js is improperly validated, allowing attackers to pollute the prototype of an object, leading to unexpected or harmful behavior.

What to do

If exploited, an attacker could manipulate JavaScript objects in unexpected ways, which could lead to unpredictable behaviors in your application. It might not seem catastrophic at first, but trust me, you wouldn't want your app to start behaving like an out-of-control kitchen! To mitigate this risk, ensure you upgrade to browserify-shim version 3.8.16 or later. Additionally, review your code to ensure proper validation of inputs when dealing with JavaScript objects. Don't let that sneaky chef in! You've got this! Follow these steps, and you’ll keep your application cooking smoothly! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01508 · 74.2th percentile
Published
2022-10-11T00:00Z
EPSS history
Timeline
  • 11 OCT 00:00Z
    Prototype pollution vulnerability in function resolveShims in resolve-shims.js in thlorenz browserify-shim 3.8.15 via the k variable in resolve-shims.js
    cvelistv5