CVE-2023-41039Zope Restrictedpython
Alta 7.7
Seguir: esta CVE · Zope · Zope Restrictedpython Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 46
- CVSS 3.1
- 7.7
- EPSS
- 0.9% probabilidad de explotación en 30 días · percentil 59
- Requiere autenticación
- Sí
- Publicada
- 30 ago 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-74
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Qué pasa
RestrictedPython is a restricted execution environment for Python to run untrusted code. Python's "format" functionality allows someone controlling the format string to "read" all objects accessible through recursive attribute lookup and subscription from objects he can access. This can lead to critical information disclosure. With `RestrictedPython`, the format functionality is available via the `format` and `format_map` methods of `str` (and `unicode`) (accessed either via the class or its instances) and via `string.Formatter`. All known versions of `RestrictedPython` are vulnerable. This issue has been addressed in commit `4134aedcff1` which has been included in the 5.4 and 6.2 releases. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Restrictedpython.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | restrictedpython |
< 5.4 |
5.4 |
pip install "restrictedpython>=5.4" |
| PyPI | restrictedpython |
≥ 6.0 < 6.2 |
6.2 |
pip install "restrictedpython>=6.2" |
| PyPI | restrictedpython |
≥ 6.0 < 6.2 |
6.2 |
pip install "restrictedpython>=6.2" |
| PyPI | restrictedpython |
< 5.4 |
5.4 |
pip install "restrictedpython>=5.4" |
Según OSV / GitHub Advisories (GHSA-xjw2-6jm9-rf67, PYSEC-2023-159). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| zope | restrictedpython | < 5.4 |
| zope | restrictedpython | ≥ 6.0 < 6.2 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Vendor Advisory