CVE-2025-12735
expr-eval does not restrict functions passed to the evaluate function
EPSS 2.3%
描述
The expr-eval library is a JavaScript expression parser and evaluator designed to safely evaluate mathematical expressions with user-defined variables. However, due to insufficient input validation, an attacker can pass a crafted variables object into the evaluate() function and trigger arbitrary code execution.
如何修補 CVE-2025-12735
要修補 CVE-2025-12735,請將受影響套件升級到下列已修補版本。
- npm/expr-eval—未列出修補版本
- npm/expr-eval-fork—升級至 3.0.1 或更新版本
CVE-2025-12735 正在被利用嗎?
低 — EPSS 為 2.3%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, <= 2.0.2
- from 0, < 3.0.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |