CVE-2025-22153
CVE-2025-22153 · try/except* clauses could allow bypass RestrictedPython via type confusion bug in the CPython interpreter
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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 · Élevée · EPSS 0,4% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system · python
Produits et versions concernés
restrictedpython
- Versions du logiciel
- >= 6.0, < 8.0: Concernée
Aucun correctif publié
restrictedpython Debian:13
- Plages de versions concernées
- ECOSYSTEM: < 8.0-1
Mettez à jour vers 8.0-1
restrictedpython Debian:14
- Plages de versions concernées
- ECOSYSTEM: < 8.0-1
Mettez à jour vers 8.0-1
restrictedpython PyPI
- Versions du logiciel
- 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
- Plages de versions concernées
- ECOSYSTEM: ≥ 6.0, < 8.0
Mettez à jour vers 8.0
restrictedpython Ubuntu:Pro:24.04:LTS
- Versions du logiciel
- 4.0~b3-3
- 6.2-1
- Plages de versions concernées
- ECOSYSTEM: < 6.2-1ubuntu0.24.04.1~esm1
Mettez à jour vers 6.2-1ubuntu0.24.04.1~esm1