Live threats

All CVEs / Zope

CVE-2024-47532Zope Restrictedpython

High 8.7 No auth needed

Priority
67
CVSS 4.0
8.7
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
No
Published
Sep 30, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Restrictedpython.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI restrictedpython < 7.3 7.3 pip install "restrictedpython>=7.3"
PyPI restrictedpython < 7.3 7.3 pip install "restrictedpython>=7.3"

Per OSV / GitHub Advisories (GHSA-5rfv-66g4-jr8h, PYSEC-2024-186). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
zoperestrictedpython< 7.3

Official sources

References

Links published by the sources. Open them with care.