Todas las CVE / Cryptography.io
CVE-2024-26130Cryptography.io Cryptography
Alta 7.5 Sin autenticación
Seguir: esta CVE · Cryptography.io · Cryptography.io Cryptography Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.7% probabilidad de explotación en 30 días · percentil 77
- Requiere autenticación
- No
- Publicada
- 21 feb 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-476
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Starting in version 38.0.0 and prior to version 42.0.4, if `pkcs12.serialize_key_and_certificates` is called with both a certificate whose public key did not match the provided private key and an `encryption_algorithm` with `hmac_hash` set (via `PrivateFormat.PKCS12.encryption_builder().hmac_hash(...)`, then a NULL pointer dereference would occur, crashing the Python process. This has been resolved in version 42.0.4, the first version in which a `ValueError` is properly raised.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Cryptography.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | cryptography |
≥ 38.0.0 < 42.0.4 |
42.0.4 |
pip install "cryptography>=42.0.4" |
| PyPI | cryptography |
≥ 38.0.0 < 42.0.4 |
42.0.4 |
pip install "cryptography>=42.0.4" |
Según OSV / GitHub Advisories (GHSA-6vqw-3v5j-54x4, PYSEC-2024-225). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| cryptography.io | cryptography | ≥ 38.0.0 < 42.0.4 |
Boletines oficiales
- python313-cryptography-50.0.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11468-1 · 6 ago 2026 Crítica
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Vendor Advisory