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)
Description officielle de la 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.
Texte intégral, issu des données CVE/NVD — le texte source ci-dessus est volontairement un extrait. Voir le dossier CVE
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Radar d’armement & PoC
Urgence Admin IT · Surface d’attaque Chercheur · Preuves
Avis des éditeurs & Statut des correctifs
Bulletins éditeurs · Correctifs · Sources primaires vérifiées
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
Taxonomie des failles CWE & architecture défensive
Classes de faiblesses · Cause racine · Mitigation
Renseignement sur les menaces & Forensique
Navigateur ATT&CK · Radar IoC & Graphe
Conformité, SLA & respect éditeur
Vecteur CVSS · Classement du score · Tri des autorités
CISA-SSVC-Triage (vulnrichment)CVE-2023-37271
Intelligence Digest — gratuit
Chaque jour, les principales actualités sécurité · résiliable à tout moment
💬 Discussion communautaire et commentaires
Lancez la discussion dans le flux diffusé du Social Chat ou proposez ci-dessus une contribution experte via le formulaire de complément.