UBUNTU-CVE-2024-47532

Source
https://ubuntu.com/security/CVE-2024-47532
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47532.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-47532
Related
Published
2024-09-30T16:15:00Z
Modified
2025-04-23T15:12:30Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

RestrictedPython is a restricted execution environment for Python to run untrusted code. A user can gain access to protected (and potentially sensible) information indirectly via AttributeError.obj and the string module. The problem will be fixed in version 7.3. As a workaround, If the application does not require access to the module string, it can remove it from RestrictedPython.Utilities.utility_builtins or otherwise do not make it available in the restricted execution environment.

References

Affected packages

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:Pro:20.04:LTS / restrictedpython

Package

Name
restrictedpython
Purl
pkg:deb/ubuntu/restrictedpython@4.0~b3-2ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0~b3-2ubuntu0.1~esm1

Affected versions

4.*

4.0~b3-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.0~b3-2ubuntu0.1~esm1",
            "binary_name": "python3-restrictedpython"
        }
    ]
}

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:Pro:22.04:LTS / restrictedpython

Package

Name
restrictedpython
Purl
pkg:deb/ubuntu/restrictedpython@4.0~b3-3ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0~b3-3ubuntu0.1~esm1

Affected versions

4.*

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

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.0~b3-3ubuntu0.1~esm1",
            "binary_name": "python3-restrictedpython"
        }
    ]
}

Ubuntu:24.10 / restrictedpython

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.2-1ubuntu0.24.10.1

Affected versions

6.*

6.2-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "6.2-1ubuntu0.24.10.1",
            "binary_name": "python3-restrictedpython"
        }
    ]
}

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"
}

Ubuntu:Pro:24.04:LTS / restrictedpython

Package

Name
restrictedpython
Purl
pkg:deb/ubuntu/restrictedpython@6.2-1ubuntu0.24.04.1~esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.2-1ubuntu0.24.04.1~esm1

Affected versions

4.*

4.0~b3-3

6.*

6.2-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "6.2-1ubuntu0.24.04.1~esm1",
            "binary_name": "python3-restrictedpython"
        }
    ]
}

Ubuntu:25.04 / restrictedpython

Package

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

Affected ranges

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

Affected versions

6.*

6.2-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "8.0-1",
            "binary_name": "python3-restrictedpython"
        }
    ]
}