restrictedpython
Affected
- introduced
0, fixed7.3(ecosystem)
Fixed versions
7.3
Fix
- Fixed version
7.3pip install --upgrade restrictedpython==7.3
Advisory
Also known as: CVE-2024-47532, GHSA-5rfv-66g4-jr8h
The record has no summary.
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.
Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
0, fixed 7.3 (ecosystem)7.3
7.3pip install --upgrade restrictedpython==7.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0