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)
Descrizione ufficiale della CVE
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.
Integrale e non abbreviata, dai dati CVE/NVD; il testo di origine qui sopra è volutamente solo un estratto. Al dossier CVE
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Radar Weaponization e PoC
Urgenza Admin IT · Superficie di Attacco · Evidenze
Bollettini dei Produttori e Stato Patch
Bollettini dei produttori · Patch · Fonti primarie verificate
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
Tassonomia delle vulnerabilità CWE e architettura difensiva
Classi di debolezza · Causa radice · Mitigazione
Cyber Threat Intelligence e Forense
Navigatore ATT&CK · Radar IoC e Grafo
Compliance, SLA e aderenza del produttore
Vettore CVSS · Classificazione del punteggio · Triage degli enti
CISA-SSVC-Triage (vulnrichment)CVE-2023-37271
Intelligence Digest — gratuito
Ogni giorno le notizie di sicurezza più importanti · annullabile in qualsiasi momento
💬 Discussione della community e commenti
Avvia la discussione nel flusso broadcast della Social Chat oppure invia qui sopra un contributo esperto tramite il modulo di integrazione.