CVE-2024-47532CWE-200

RestrictedPython information leakage via `AttributeError.obj` and the `string` module

High · published September 30, 2024

CVSS v4.0
8.7
EPSS
1%
Percentile
53.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.00716 · 53.3th percentile
Weakness
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
Published
2024-09-30T15:29Z
EPSS history
Timeline
  • 30 SEP 15:29Z
    RestrictedPython information leakage via `AttributeError.obj` and the `string` module
    cvelistv5