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)
Officiële CVE-beschrijving
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.
Volledig en ongekort uit het CVE/NVD-bestand; de brontekst hierboven is bewust slechts een uittreksel. Naar het CVE-dossier
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Exploit Weaponization & PoC Radar
IT-beheerurgentie · Onderzoekersaanvalsoppervlak · Exploit-bewijs
Leveranciersmeldingen & Patchstatus
Leveranciersbulletins · Patches · Geverifieerde primaire bronnen
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-taxonomie van zwakke plekken & defensieve architectuur
Klassen van zwakke plekken · Oorzaak · Mitigatie
Cyber Threat Intelligence & Forensiek
ATT&CK-Navigator · IoC-Radar & Graaf
Compliance, SLA & leveranciersadherentie
CVSS-vector · Scoreclassificatie · Triage door instanties
CISA-SSVC-Triage (vulnrichment)CVE-2023-37271
Intelligence Digest gratis
Dagelijks het belangrijkste beveiligingsnieuws · kan op elk moment worden opgehaald
💬 Communitydiscussie & reacties
Start de discussie in de Social Chat broadcaststream of dien hierboven een vakbijdrage in via het aanvulformulier.