CVSS 9.8 · Critical EPSS 0,42%
Kerentanan Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection'). Skor CVSS 3.1 9.8 (Critical) menurut github.com.
Deskripsi (NVD)
CodeSafe is an open-source Python library for code encryption, decryption, and safe evaluation using Python's AST module. From versions 0.0.1 through 0.0.4, the safe_eval() function can be bypassed with indirect subscript calls such as builtins'exec', because AST validation blocks only direct calls to dangerous built-ins. An attacker who controls an expression passed to safe_eval() can execute arbitrary Python code with the permissions of the host application. This issue is fixed in version 0.0.5.
Rincian
- Terbit di NVD
- 25 November 2026
- Terakhir diubah
- 25 November 2026
- Status NVD
- Received
- CVSS 3.1
- 9.8 (Critical), sumber github.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H· uraikan di kalkulator - Jenis kelemahan (CWE)
-
CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
CWE-693: Protection Mechanism Failure - EPSS (30 hari)
- 0,42% peluang dieksploitasi; lebih tinggi dari 27,8% CVE lain
Produk dan versi terdampak
NVD belum mencantumkan data produk (CPE) untuk CVE ini. Produk yang terdampak biasanya disebut di deskripsi dan di advisory vendor pada daftar referensi.
Referensi dan perbaikan
- https://github.com/Infinitode/CodeSafe/commit/27f19e220432c9d83f1c463f382d2807b31fe6fd#diff-5e1c6bb51538bc170a...
- https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8