Advisory

GHSA-79xf-67r4-q2jj

Also known as: CVE-2023-26122

Summary

safe-eval vulnerable to Sandbox Bypass due to improper input sanitization

Details

All versions of the package safe-eval are vulnerable to Sandbox Bypass due to improper input sanitization. The vulnerability is derived from prototype pollution exploitation. Exploiting this vulnerability might result in remote code execution (RCE).

Vulnerable functions:

__defineGetter__, stack(), toLocaleString(), propertyIsEnumerable.call(), valueOf().

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-04-11 06:30 UTC
Modified
2023-11-08 04:11 UTC

Affected packages and fixes

safe-eval

npm · All systems

Affected

  • introduced 0, last affected 0.4.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences