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)
Oficjalny opis 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.
Pełny i nieskrócony, z bazy CVE/NVD; tekst źródłowy powyżej jest celowo tylko fragmentem. Do dossier CVE
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Exploit Weaponization & PoC Radar
Pilność IT-Admin · Powierzchnia ataku · Dowody Exploitów
Biuletyny producentów i status poprawek
Biuletyny producentów · Łatki · Zweryfikowane źródła pierwotne
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
Taksonomia słabości CWE i architektura obronna
Klasy słabości · Przyczyna źródłowa · Mitygacja
Cyber Threat Intelligence i Kryminalistyka
Navigator ATT&CK · Radar IoC i Graf
Zgodność, SLA i adherencja producenta
Wektor CVSS · Klasyfikacja wyniku · Triage organów
CISA-SSVC-Triage (vulnrichment)CVE-2023-37271
Intelligence Digest - bezpłatnie
Codziennie najważniejsze wiadomości bezpieczeństwa · można pobrać w każdej chwili
💬 Dyskusja społeczności i komentarze
Rozpocznij dyskusję w strumieniu transmisji Social Chat lub prześlij wyżej wkład ekspercki przez formularz uzupełnień.