1. Archivio CVE
  2. 2025
  3. CVE-2025-22153

CVE-2025-22153

7.9 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:L 7.9 – Alta

Descrizione

RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Via a type confusion bug in versions of the CPython interpreter starting in 3.11 and prior to 3.13.2 when using `try/except*`, RestrictedPython starting in version 6.0 and prior to version 8.0 could be bypassed. The issue is patched in version 8.0 of RestrictedPython by removing support for `try/except*` clauses. No known workarounds are available.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
zopefoundation restrictedpython >= 6.0, < 8.0 –

Tipo di vulnerabilità

CWE-843 Type confusion: accesso a una risorsa con un tipo incompatibile

Il prodotto crea una risorsa (puntatore, oggetto o variabile) di un certo tipo, ma in seguito vi accede come se fosse di un tipo incompatibile.

Impatto sui sistemi

AmbitoImpatto
Altro Dipende dal contesto
Disponibilità, Integrità, Riservatezza Leggere la memoria, Modificare la memoria, Eseguire codice o comandi non autorizzati, Interruzione del servizio: arresto o riavvio

Tutte le 927 CVE di tipo CWE-843, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org