UBUNTU-CVE-2025-22153

Source
https://ubuntu.com/security/CVE-2025-22153
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-22153.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-22153
Related
Published
2025-01-23T18:15:00Z
Modified
2025-01-29T16:32:53Z
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

Ubuntu:Pro:16.04:LTS / restrictedpython

Package

Name
restrictedpython
Purl
pkg:deb/ubuntu/restrictedpython@3.6.0-0ubuntu4?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.6.0-0ubuntu4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / restrictedpython

Package

Name
restrictedpython
Purl
pkg:deb/ubuntu/restrictedpython@3.6.0-0ubuntu4?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.6.0-0ubuntu4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / restrictedpython

Package

Name
restrictedpython
Purl
pkg:deb/ubuntu/restrictedpython@4.0~b3-2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0~b3-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / restrictedpython

Package

Name
restrictedpython
Purl
pkg:deb/ubuntu/restrictedpython@4.0~b3-3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0~b3-2
4.0~b3-2ubuntu1
4.0~b3-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / restrictedpython

Package

Name
restrictedpython
Purl
pkg:deb/ubuntu/restrictedpython@6.2-1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / restrictedpython

Package

Name
restrictedpython
Purl
pkg:deb/ubuntu/restrictedpython@6.2-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0~b3-3

6.*

6.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}