CVE-2019-10760

safer-eval before 1.3.2 are vulnerable to Arbitrary Code Execution

published October 15, 2019

CVSS
—
EPSS
3%
Percentile
86.7
In the wild
Unconfirmed
What it is

⚡ A crafty payload can escape the sandbox in safer-eval versions before 1.3.2 and run arbitrary code — like a magician making a dove disappear, but in the digital realm! 🎩 Think of safer-eval as a kitchen with a strict chef keeping an eye on who’s allowed to use the knives. If someone sneaks in a recipe that bypasses the chef's rules, they might end up slicing and dicing things they shouldn’t! An attacker could potentially execute any code of their choosing, gaining unauthorized access to sensitive data or system functions. This could lead to significant data breaches or service disruptions, putting both users and developers in a tricky spot!

Put simply

Think of safer-eval as a kitchen with a strict chef keeping an eye on who’s allowed to use the knives. If someone sneaks in a recipe that bypasses the chef's rules, they might end up slicing and dicing things they shouldn’t! The vulnerability stems from how safer-eval handles constructor properties, allowing crafted payloads to break out of the sandbox and execute arbitrary code without any restrictions.

What to do

An attacker could potentially execute any code of their choosing, gaining unauthorized access to sensitive data or system functions. This could lead to significant data breaches or service disruptions, putting both users and developers in a tricky spot! To protect against this, update safer-eval to version 1.3.2 or later immediately. Additionally, review your codebase for any instances where safer-eval is implemented and ensure it's used securely. You've got this! Stay vigilant and patch your systems to keep everything secure! 🛡️

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