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, PYSEC-2024-186
RestrictedPython information leakage via AttributeError.obj and the string module
Impact
A user can gain access to protected (and potentially sensible) information indirectly via AttributeError.obj and the string module.
Patches
The problem will be fixed in version 7.3.
Workarounds
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.
High Basis: The source's own band: HIGH
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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0