CVE-2019-10769 Sandbox Breakout / Arbitrary Code Execution in safer-eval
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.
| Package | Affected | Fixed in |
|---|---|---|
safer-eval npm | All versions to 1.3.6 | None |
safer-eval npm | All versions to 1.3.6 | None |
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.
Other vulnerabilities in safer-eval
Sources
Also known as GHSA-v63x-xc9j-hhvq.