CVE-2023-41039
Severity CVSS v4.0:
Pending analysis
Type:
CWE-74
Injection
Publication date:
30/08/2023
Last modified:
05/09/2023
Description
RestrictedPython is a restricted execution environment for Python to run untrusted code. Python&#39;s "format" functionality allows someone controlling the format string to "read" all objects accessible through recursive attribute lookup and subscription from objects he can access. This can lead to critical information disclosure. With `RestrictedPython`, the format functionality is available via the `format` and `format_map` methods of `str` (and `unicode`) (accessed either via the class or its instances) and via `string.Formatter`. All known versions of `RestrictedPython` are vulnerable. This issue has been addressed in commit `4134aedcff1` which has been included in the 5.4 and 6.2 releases. Users are advised to upgrade. There are no known workarounds for this vulnerability.<br />
<br />
Impact
Base Score 3.x
7.70
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:zope:restrictedpython:*:*:*:*:*:*:*:* | 5.4 (excluding) | |
| cpe:2.3:a:zope:restrictedpython:*:*:*:*:*:*:*:* | 6.0 (including) | 6.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



