CVE-2022-37623 thlorenz browserify-shim vulnerable to prototype pollution

Critical 9.8 Published Updated

Prototype pollution in browserify-shim allows attackers to inject properties into Object.prototype, potentially leading to arbitrary code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-37623?

CVE-2022-37623 is a critical code injection vulnerability in n/a, published on 31 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-1321

Which versions are affected by CVE-2022-37623?

2 open source packages ship an affected version, including browserify-shim. It affects 1 product.

PackageAffectedFixed in
browserify-shim npmAll versions3.8.16
browserify-shim npmAll versions3.8.16

Products include Browserify-Shim Project Browserify-Shim.

How do I fix CVE-2022-37623?

Upgrade browserify-shim to 3.8.16 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-37623 being exploited?

There is no known exploitation of CVE-2022-37623 in the wild and no public exploit code.

Sources

Also known as GHSA-cfgr-75jx-h88g.

Is CVE-2022-37623 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free