Vulnerabilities · 2024 · Zope
CVE-2024-47532
Zope Restrictedpython vulnerability
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.
Affected products
Restrictedpython. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Zope Restrictedpython runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/zopefoundation/RestrictedPython/security/advisories/GHSA-5rfv-66g4-jr8h · Exploit
- github.com/zopefoundation/RestrictedPython/commit/d701cc36cccac36b21fa200f1f2d1945a9a215e6 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-47532
- github.com/pypa/advisory-database/tree/main/vulns/restrictedpython/PYSEC-2024-186.yaml
- github.com/advisories/GHSA-5rfv-66g4-jr8h
- nvd.nist.gov/vuln/detail/CVE-2024-47532
- cve.org/CVERecord?id=CVE-2024-47532
More vulnerabilities in Zope products
CVE-2024-24811CVE-2023-44389CVE-2023-42458CVE-2023-41050CVE-2023-41039CVE-2023-37271CVE-2023-36814CVE-2021-36089All 51
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.