RestrictedPython 是一个用于在可信环境中定义 Python 语言子集以接受程序输入的工具。在 8.4 版本之前,当自定义导入策略或全局变量将标准库中的 模块、 类、 实例或 子类暴露给受限代码时,RestrictedPython 可能出现沙箱逃逸漏洞。 的方法(如 、 、 和 )在内部进行属性访问和元素遍历,但未经过 RestrictedPython 提供的 安全保护机制。因此,受限代码可以利用这些活动对象引用访问函数全局变量、内置函数、文件访问或代码执行原语,从而影响主机环境的机密性、完整性和可用
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| zopefoundation | RestrictedPython | < 8.4 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet