Intelligence View
USN-7355-1: RestrictedPython vulnerabilities
Nakul Choudhary and Robert Xiao discovered that RestrictedPython did not properly sanitize certain inputs. An attacker could possibly use this issue to execute…
CVE & Threat-Kontext · 1 Min. Lesezeit
properly sanitize certain inputs. An attacker could possibly use this
issue to execute arbitrary code. This issue only affected
Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-37271)
Abhishek Govindarasu, Ankush Menat and Ward Theunisse discovered that
RestrictedPython did not correctly handle certain format strings. An
attacker could possibly use this issue to leak sensitive information.
This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.
(CVE-2023-41039)
It was discovered that RestrictedPython did not correctly restrict access
to certain fields. An attacker could possibly use this issue to leak
sensitive information. (CVE-2024-47532)
It was discovered that RestrictedPython contained a type confusion
vulnerability. An attacker could possibly use this issue to execute
arbitrary code. This issue only affected Ubuntu 24.04 LTS and
Ubuntu 24.10. (CVE-2025-22153)
Offizielle CVE-Beschreibung
CVE-2023-37271RestrictedPython is a tool that helps to define a subset of the Python language which allows users to provide a program input into a trusted environment. RestrictedPython does not check access to stack frames and their attributes. Stack frames are accessible within at least generators and generator expressions, which are allowed inside RestrictedPython. Prior to versions 6.1 and 5.3, an attacker with access to a RestrictedPython environment can write code that gets the current stack frame in a generator and then walk the stack all the way beyond the RestrictedPython invocation boundary, thus breaking out of the restricted sandbox and potentially allowing arbitrary code execution in the Python interpreter. All RestrictedPython deployments that allow untrusted users to write Python code in the RestrictedPython environment are at risk. In terms of Zope and Plone, this would mean deployments where the administrator allows untrusted users to create and/or edit objects of type `Script (Python)`, `DTML Method`, `DTML Document` or `Zope Page Template`. This is a non-default configuration and likely to be extremely rare. The problem has been fixed in versions 6.1 and 5.3.
Vollständig und ungekürzt aus dem CVE-/NVD-Bestand — der Quelltext oben ist bewusst nur ein Auszug. Zum CVE-Dossier
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Exploit Weaponization & PoC Radar
IT-Admin-Dringlichkeit · Forscher-Angriffsfläche · Exploit-Belege
Hersteller-Sicherheitsmeldungen & Patch-Status
Hersteller-Bulletins · Patches · Verifizierte Primärquellen
Hersteller-Advisory noch nicht formal hinterlegt. Regelmäßiges Re-Scanning der CTI-Quellen anberaumt.
-
GitHub Advisory (GHSA) zopefoundation/RestrictedPython/security/advisories/GHS…Patch prüfen
-
GitHub Commit zopefoundation/RestrictedPython/commit/c8eca66ae49081f0…Patch prüfen
-
Upstream-Referenz (Code-Hosting, kein Advisory)github.com
-
Upstream-Referenz (Code-Hosting, kein Advisory)github.com
-
NIST NVD (CVE-2023-37271)nvd.nist.gov
CWE-Schwachstellen-Taxonomie & Defensive Architektur
Schwachstellen-Klassen · Root Cause · Mitigation
Cyber Threat Intelligence & Forensik
ATT&CK-Navigator · IoC-Radar & Graph
Compliance, SLA & Vendor Adherence
CVSS-Vektor · Score-Einordnung · Behörden-Triage
CISA-SSVC-Triage (vulnrichment)CVE-2023-37271
Intelligence Digest — kostenlos
Täglich die wichtigsten Security-News · jederzeit abbestellbar
💬 Community-Diskussion & Kommentare
Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „Information ergänzen“ einen Fachbeitrag ein.