
CVE catalog
CVE-2024-47532
RestrictedPython vulnerabilities
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.72% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | restrictedpython | sid | 8.4-1 | fixed |
| Debian | restrictedpython | forky | 8.4-1 | fixed |
| Debian | restrictedpython | trixie | 8.0-1 | fixed |
| Debian | restrictedpython | bookworm | 4.0~b3-3 | vulnerable |
| Ubuntu | restrictedpython | noble | Not reported | vulnerable |
| Ubuntu | restrictedpython | noble | 6.2-1ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | python3-restrictedpython | noble | 6.2-1ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | restrictedpython | pro | 4.0~b3-3 | vulnerable |
| Ubuntu | restrictedpython | pro | 6.2-1 | vulnerable |
| Ubuntu | restrictedpython | pro | 6.2-1ubuntu0.24.04.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | restrictedpython | source | sid | 8.0-1 | not yet assigned | Not reported | [1084057] |
| Debian | restrictedpython | source | forky | 8.0-1 | not yet assigned | Not reported | [1084057] |
| Debian | restrictedpython | source | trixie | 8.0-1 | not yet assigned | Not reported | [1084057] |
| Debian | restrictedpython | source | bookworm | (unfixed) | not yet assigned | Not reported | [1084057] |
| Ubuntu | restrictedpython | deb | noble | 6.2-1ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | python3-restrictedpython | deb | noble | 6.2-1ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | restrictedpython | deb | pro | 6.2-1ubuntu0.24.04.1~esm1 | Not reported | UBUNTU-CVE-2024-47532 | Not reported |
Notes
[bookworm] restrictedpython: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-restrictedpython]Affected
Source package: [restrictedpython]
Details (2)
4.0~b3-3· all · bookwormAffected
usn · restrictedpython · debian · bookworm; usn · restrictedpython · debian · 12
4.0~b3-3· all · bookwormAffected
usn · restrictedpython · debian · bookworm; usn · restrictedpython · debian · 12
[Debian 13 (Trixie)]
- [python3-restrictedpython]Fixed
Source package: [restrictedpython]
Details (2)
8.0-1· all · trixieFixed · Fixed:
8.0-1usn · restrictedpython · debian · 13
8.0-1· all · trixieFixed · Fixed:
8.0-1usn · restrictedpython · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-47532]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-47532]
- [https://security-tracker.debian.org/tracker/CVE-2024-47532]
- [https://ubuntu.com/security/notices/USN-7355-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]