目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-102734— asteval 沙箱逃逸:通过 numpy ctypes 任意内存读写漏洞

一分钟漏洞结论

影响对象
lmfit asteval
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

asteval 是一个专为受限执行环境设计的 Python 表达式求值器。在 1.0.9 版本之前,asteval/astutils.py 中启用了 numpy 的默认解释器暴露了 ctypes 类型,并允许通过 from_address 进行内存访问。虽然 safe_getattr 阻止了对 ctypes 模块的直接访问,但未能阻止可访问的 ctypes 类型对象;同时,属性赋值操作使用了未过滤的 setattr 而非 safe_setattr。攻击者可以通过可控表达式利用 id 获取地址,通过 from_add

CVSS 5.5 · Medium

影响版本矩阵 1

厂商产品 版本范围状态
lmfit asteval < 1.0.9 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-102734 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
asteval sandbox escape: arbitrary native memory read/write via numpy ctypes in default asteval Interpreter
来源: CVE Program / CVE List V5
Vulnerability Description
asteval is a Python expression evaluator designed for restricted execution. Prior to 1.0.9, in asteval/astutils.py, the default Interpreter with numpy enabled exposes a ctypes type and permits from_address memory access. safe_getattr blocks the ctypes module but not reachable ctypes type objects, while attribute assignments use unfiltered setattr instead of safe_setattr. An attacker-controlled expression can derive an address with id, read memory through from_address, and write through an attribute assignment. The expression can read or corrupt arbitrary process memory, escape the intended sandbox, execute code, disclose secrets, or crash the host process. This issue is fixed in version 1.0.9.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
保护机制失效
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
lmfit asteval < 1.0.9 -

二、漏洞 CVE-2026-102734 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-102734 的情报信息

请登录查看更多情报信息。

CVE-2026-102734 补丁与修复 (2)

CVE-2026-102734 厂商安全公告 (1)

CVE-2026-102734 厂商页面 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-102734

暂无评论


发表评论