GHSA-3wwr-3g9f-9gc7 · 深刻度: high · エコシステム: pip — ASTEVAL Allows Maliciously Crafted Format Strings to Lead to Sandbox Escape
ASTEVAL is an evaluator of Python expressions and statements. Prior to version 1.0.6, if an attacker can control the input to the `asteval` library, they can bypass asteval's restrictions and execute arbitrary Python code in the context of the application using the library. The vulnerability is rooted in how `asteval` performs handling of `FormattedValue` AST nodes. In particular, the `on_formattedvalue` value uses the dangerous format method of the str class. The code allows an attacker to manipulate the value of the string used in the dangerous call `fmt.format(__fstring__=val)`. This vulnerability can be exploited to access protected attributes by intentionally triggering an `AttributeError` exception. The attacker can then catch the exception and use its `obj` attribute to gain arbitrary access to sensitive or protected object properties. Version 1.0.6 fixes this issue.
総合評価: CVE-2025-24359 は低リスク(38.1/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.22%、12 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.03% | 0.22% | +0.19% |
| 2 | 2026-03-04 | 0.05% | 0.03% | -0.02% |
| 3 | 2025-10-20 | — | 0.05% | — |
EPSS の全履歴 (全 4 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.4 | 3.1 | HIGH |
|
2.5 | 5.9 | [email protected] |
GHSA-3wwr-3g9f-9gc7 · 深刻度: high · エコシステム: pip — ASTEVAL Allows Maliciously Crafted Format Strings to Lead to Sandbox Escape
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-24359 not yet assigned priority: Debian including 1 source packages (python-asteval), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. | https://security-tracker.debian.org/tracker/CVE-2025-24359 |
ubuntu
|
medium | CVE-2025-24359 medium priority: Ubuntu including 1 source packages (python-asteval), 7 status rows across 7 suites (focal, jammy, noble, oracular, plucky, questing, upstream): needs-triage 3, not-affected 2, ignored 1, released 1. | https://ubuntu.com/security/CVE-2025-24359 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| データセットに影響を受ける製品はありません。 | |||