CVE-2025-22153
CVE-2025-22153 · try/except* clauses could allow bypass RestrictedPython via type confusion bug in the CPython interpreter
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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.
CVSS 7.9 · Alta · EPSS 0,4% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system · python
Productos y versiones afectados
restrictedpython
- Versiones
- >= 6.0, < 8.0: Afectada
Sin corrección publicada
restrictedpython Debian:13
- Intervalos de versiones afectados
- ECOSYSTEM: < 8.0-1
Actualiza a 8.0-1
restrictedpython Debian:14
- Intervalos de versiones afectados
- ECOSYSTEM: < 8.0-1
Actualiza a 8.0-1
restrictedpython PyPI
- Versiones
- 6.0
- 6.1
- 6.2
- 7.0
- 7.0a1.dev0
- 7.0a1.dev1
- 7.0a2.dev0
- 7.1
- 7.2
- 7.2a1.dev0
- 7.3
- 7.4
- Intervalos de versiones afectados
- ECOSYSTEM: ≥ 6.0, < 8.0
Actualiza a 8.0
restrictedpython Ubuntu:Pro:24.04:LTS
- Versiones
- 4.0~b3-3
- 6.2-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 6.2-1ubuntu0.24.04.1~esm1
Actualiza a 6.2-1ubuntu0.24.04.1~esm1