vulnerability
Ubuntu: USN-7355-1 (CVE-2024-47532): RestrictedPython vulnerabilities
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 7 | (AV:N/AC:L/Au:S/C:C/I:N/A:N) | Sep 30, 2024 | Mar 19, 2025 | Aug 18, 2025 |
Severity
7
CVSS
(AV:N/AC:L/Au:S/C:C/I:N/A:N)
Published
Sep 30, 2024
Added
Mar 19, 2025
Modified
Aug 18, 2025
Description
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.
Solution
ubuntu-pro-upgrade-python3-restrictedpython
References
- CVE-2024-47532
- https://attackerkb.com/topics/CVE-2024-47532
- CWE-200
- UBUNTU-USN-7355-1
- URL-https://github.com/zopefoundation/RestrictedPython/commit/d701cc36cccac36b21fa200f1f2d1945a9a215e6
- URL-https://github.com/zopefoundation/RestrictedPython/security/advisories/GHSA-5rfv-66g4-jr8h
- URL-https://ubuntu.com/security/notices/USN-7355-1
- URL-https://www.cve.org/CVERecord?id=CVE-2024-47532
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.