CVE-2019-10769 Sandbox Breakout / Arbitrary Code Execution in safer-eval

Critical 9.8 Published Updated

Attackers can execute arbitrary code by triggering a RangeError in the safer-eval sandbox, compromising applications using this Node.js 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-2019-10769?

CVE-2019-10769 is a critical code injection vulnerability in safer-eval, published on 6 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

safer-eval is a npm package to sandbox the he evaluation of code used within the eval function. Affected versions of this package are vulnerable to Arbitrary Code Execution via generating a RangeError.

Weakness: CWE-94

Which versions are affected by CVE-2019-10769?

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

PackageAffectedFixed in
safer-eval npmAll versions to 1.3.6None
safer-eval npmAll versions to 1.3.6None

Products include Safer-Eval Project Safer-Eval.

How do I fix CVE-2019-10769?

No fix has been published for CVE-2019-10769 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-2019-10769 being exploited?

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

Sources

Also known as GHSA-v63x-xc9j-hhvq.

Is CVE-2019-10769 in your software?

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

Check your SBOMs for free