CVE-2025-22153

EUVD-2025-0162
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.
Type Confusion
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.9 HIGH
NETWORK
HIGH
HIGH
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:L
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 33.41%
Debian logo
Debian Releases
Debian Product
Codename
restrictedpython
bookworm
4.0~b3-3
fixed
bullseye
not-affected
forky
8.4-1
fixed
sid
8.4-1
fixed
trixie
8.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
restrictedpython
bionic
not-affected
focal
not-affected
jammy
not-affected
noble
Fixed 6.2-1ubuntu0.24.04.1~esm1
released
oracular
Fixed 6.2-1ubuntu0.24.10.1
released
plucky
not-affected
questing
not-affected
resolute
not-affected
xenial
not-affected