CVE-2019-10759

safer-eval before 1.3.4 are vulnerable to Arbitrary Code Execution

published October 15, 2019

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

⚠️ A crafty payload can slip through the cracks! The sandbox in safer-eval versions before 1.3.4 is like a child’s playpen with a gaping hole, allowing arbitrary code execution. 🔥 Think of this vulnerability as a sneaky delivery driver who finds a way to drop off a package right inside your house instead of just leaving it at the door. Once inside, they can do whatever they like, and that’s exactly what an attacker can do here! An attacker could potentially escape the sandbox environment and execute any code they want, which could lead to unauthorized access, data breaches, or even full control over the affected system. This could be a game-changer for any application relying on safer-eval for executing dynamic code.

Put simply

Think of this vulnerability as a sneaky delivery driver who finds a way to drop off a package right inside your house instead of just leaving it at the door. Once inside, they can do whatever they like, and that’s exactly what an attacker can do here! This vulnerability arises from the fact that safer-eval before version 1.3.4 allows payloads using constructor properties to escape its secure environment, facilitating arbitrary code execution in the application context.

What to do

An attacker could potentially escape the sandbox environment and execute any code they want, which could lead to unauthorized access, data breaches, or even full control over the affected system. This could be a game-changer for any application relying on safer-eval for executing dynamic code. To safeguard your application, upgrade safer-eval to version 1.3.4 or later immediately. Additionally, review your code for any risky usages and ensure that you’re validating all inputs rigorously to minimize risks. You've got this! By taking these steps, you’ll fortify your defenses like a pro! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01787 · 78.2th percentile
Published
2019-10-15T14:47Z
EPSS history
Timeline
  • 15 OCT 14:47Z
    safer-eval before 1.3.4 are vulnerable to Arbitrary Code Execution
    cvelistv5