CVE-2021-23594 Sandbox Bypass

Critical 9.8 Published Updated

Attackers can bypass sandbox restrictions and execute arbitrary code via prototype pollution in the realms-shim library.

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

What is CVE-2021-23594?

CVE-2021-23594 is a critical code injection vulnerability in realms-shim, published on 7 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of package realms-shim are vulnerable to Sandbox Bypass via a Prototype Pollution attack vector.

Weakness: CWE-1321

Which versions are affected by CVE-2021-23594?

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

PackageAffectedFixed in
realms-shim npmAll versions to 1.2.2None
realms-shim npmAll versions to 1.2.2None

Products include Agoric Realms-Shim.

How do I fix CVE-2021-23594?

No fix has been published for CVE-2021-23594 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2021-23594 being exploited?

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

Sources

Also known as GHSA-pwm7-qr6j-3vjg.

Is CVE-2021-23594 in your software?

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

Check your SBOMs for free