RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Via a type confusion bug in versions of the CPython interpreter starting in 3.11 and prior to 3.13.2 when using `try/except*`, RestrictedPython starting in version 6.0 and prior to version 8.0 could be bypassed. The issue is patched in version 8.0 of RestrictedPython by removing support for `try/except*` clauses. No known workarounds are available.
Metrics
Affected Vendors & Products
References
History
Wed, 12 Feb 2025 21:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Thu, 23 Jan 2025 17:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Via a type confusion bug in versions of the CPython interpreter starting in 3.11 and prior to 3.13.2 when using `try/except*`, RestrictedPython starting in version 6.0 and prior to version 8.0 could be bypassed. The issue is patched in version 8.0 of RestrictedPython by removing support for `try/except*` clauses. No known workarounds are available. | |
Title | try/except* clauses could allow bypass RestrictedPython via type confusion bug in the CPython interpreter | |
Weaknesses | CWE-843 | |
References |
| |
Metrics |
cvssV3_1
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2025-01-23T17:34:27.056Z
Updated: 2025-02-12T20:41:29.946Z
Reserved: 2024-12-30T03:00:33.655Z
Link: CVE-2025-22153

Updated: 2025-02-12T20:35:52.649Z

Status : Received
Published: 2025-01-23T18:15:33.267
Modified: 2025-01-23T18:15:33.267
Link: CVE-2025-22153

No data.