CVE-2025-22153

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-22153
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22153.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-22153
Aliases
Related
Published
2025-01-23T18:15:33Z
Modified
2025-01-30T05:52:27.486341Z
Summary
[none]
Details

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.

References

Affected packages

Debian:13 / restrictedpython

Package

Name
restrictedpython
Purl
pkg:deb/debian/restrictedpython?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0-1

Affected versions

4.*

4.0~b3-3

6.*

6.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/zopefoundation/restrictedpython

Affected ranges

Type
GIT
Repo
https://github.com/zopefoundation/restrictedpython
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

4.*

4.0
4.0a1
4.0a2
4.0a3
4.0b1
4.0b2
4.0b3
4.0b4
4.0b5
4.0b6
4.0b7
4.0b8

5.*

5.0
5.1
5.2
5.2a1.dev0
5.3a1.dev0

6.*

6.0
6.0a1.dev0

7.*

7.0
7.0a1.dev0
7.0a1.dev1
7.0a2.dev0
7.1
7.2
7.2a1.dev0
7.3
7.4

Other

backups/davisagli-python27@114380
backups/zope2@76328