CVE-2024-47532
CVE-2024-47532 · RestrictedPython information leakage via `AttributeError.obj` and the `string` module
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.7 · High · EPSS 0.7% · Fix available
- Published
- Updated
Affected products and versions
restrictedpython
- Versions
- < 7.3: Affected
No fix published
restrictedpython Debian:12
- Versions
- 4.0~b3-3
- 6.2-1
- 8.0-1
- 8.1-1
- 8.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
restrictedpython Debian:13
- Affected ranges
- ECOSYSTEM: < 8.0-1
Update to 8.0-1
restrictedpython Debian:14
- Affected ranges
- ECOSYSTEM: < 8.0-1
Update to 8.0-1
restrictedpython PyPI
- Versions
- 3.4.2
- 3.4.3
- 3.5.0
- 3.5.1
- 3.5.2
- 3.6.0
- 3.6.0a1
- 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.0
- 5.1
- 5.2
- 5.2a1.dev0
- 5.3
- 5.3a1.dev0
- 5.4
- 6.0
- 6.0a1.dev0
- 6.1
- 6.2
- 7.0
- 7.0a1.dev0
- 7.0a1.dev1
- 7.0a2.dev0
- 7.1
- 7.2
- 7.2a1.dev0
- Affected ranges
- ECOSYSTEM: < 7.3
Update to 7.3
restrictedpython PyPI
- Versions
- 3.4.2
- 3.4.3
- 3.5.0
- 3.5.1
- 3.5.2
- 3.6.0
- 3.6.0a1
- 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.0
- 5.1
- 5.2
- 5.2a1.dev0
- 5.3
- 5.3a1.dev0
- 5.4
- 6.0
- 6.0a1.dev0
- 6.1
- 6.2
- 7.0
- 7.0a1.dev0
- 7.0a1.dev1
- 7.0a2.dev0
- 7.1
- 7.2
- 7.2a1.dev0
- Affected ranges
- GIT: < d701cc36cccac36b21fa200f1f2d1945a9a215e6
- ECOSYSTEM: < 7.3
Update to 7.3
restrictedpython Ubuntu:Pro:20.04:LTS
- Versions
- 4.0~b3-2
- Affected ranges
- ECOSYSTEM: < 4.0~b3-2ubuntu0.1~esm1
Update to 4.0~b3-2ubuntu0.1~esm1
restrictedpython Ubuntu:Pro:22.04:LTS
- Versions
- 4.0~b3-2
- 4.0~b3-2ubuntu1
- 4.0~b3-3
- Affected ranges
- ECOSYSTEM: < 4.0~b3-3ubuntu0.1~esm1
Update to 4.0~b3-3ubuntu0.1~esm1
restrictedpython Ubuntu:Pro:24.04:LTS
- Versions
- 4.0~b3-3
- 6.2-1
- Affected ranges
- ECOSYSTEM: < 6.2-1ubuntu0.24.04.1~esm1
Update to 6.2-1ubuntu0.24.04.1~esm1