CVE-2023-23931
CVE-2023-23931 · Cipher.update_into can corrupt memory in pyca cryptography
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In affected versions `Cipher.update_into` would accept Python objects which implement the buffer protocol, but provide only immutable buffers. This would allow immutable objects (such as `bytes`) to be mutated, thus violating fundamental rules of Python and resulting in corrupted output. This now correctly raises an exception. This issue has been present since `update_into` was originally introduced in cryptography 1.8.
CVSS 4.8 · Media · EPSS 1,3% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system · python
Productos y versiones afectados
cryptography
- Versiones
- >=1.8, < 39.0.1: Afectada
Sin corrección publicada
python-cryptography Debian:12
- Intervalos de versiones afectados
- ECOSYSTEM: < 38.0.4-3
Actualiza a 38.0.4-3
python-cryptography Debian:13
- Intervalos de versiones afectados
- ECOSYSTEM: < 38.0.4-3
Actualiza a 38.0.4-3
python-cryptography Debian:14
- Intervalos de versiones afectados
- ECOSYSTEM: < 38.0.4-3
Actualiza a 38.0.4-3
cryptography PyPI
- Versiones
- 1.8
- 1.8.1
- 1.8.2
- 1.9
- 2.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.1
- 2.1.1
- 2.1.2
- 2.1.3
- 2.1.4
- 2.2
- 2.2.1
- 2.2.2
- 2.3
- 2.3.1
- 2.4
- 2.4.1
- 2.4.2
- 2.5
- 2.6
- 2.6.1
- 2.7
- 2.8
- 2.9
- 2.9.1
- 2.9.2
- 3.0
- 3.1
- 3.1.1
- 3.2
- 3.2.1
- 3.3
- 3.3.1
- 3.3.2
- 3.4
- 3.4.1
- 3.4.2
- 3.4.3
- 3.4.4
- 3.4.5
- 3.4.6
- 3.4.7
- 3.4.8
- 35.0.0
- 36.0.0
- 36.0.1
- 36.0.2
- 37.0.0
- 37.0.1
- 37.0.2
- 37.0.3
- 37.0.4
- 38.0.0
- 38.0.1
- 38.0.2
- 38.0.3
- 38.0.4
- 39.0.0
- Intervalos de versiones afectados
- ECOSYSTEM: ≥ 1.8, < 39.0.1
Actualiza a 39.0.1
cryptography PyPI
- Versiones
- 1.8
- 1.8.1
- 1.8.2
- 1.9
- 2.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.1
- 2.1.1
- 2.1.2
- 2.1.3
- 2.1.4
- 2.2
- 2.2.1
- 2.2.2
- 2.3
- 2.3.1
- 2.4
- 2.4.1
- 2.4.2
- 2.5
- 2.6
- 2.6.1
- 2.7
- 2.8
- 2.9
- 2.9.1
- 2.9.2
- 3.0
- 3.1
- 3.1.1
- 3.2
- 3.2.1
- 3.3
- 3.3.1
- 3.3.2
- 3.4
- 3.4.1
- 3.4.2
- 3.4.3
- 3.4.4
- 3.4.5
- 3.4.6
- 3.4.7
- 3.4.8
- 35.0.0
- 36.0.0
- 36.0.1
- 36.0.2
- 37.0.0
- 37.0.1
- 37.0.2
- 37.0.3
- 37.0.4
- 38.0.0
- 38.0.1
- 38.0.2
- 38.0.3
- 38.0.4
- 39.0.0
- Intervalos de versiones afectados
- GIT: < 94a50a9731f35405f0357fa5f3b177d46a726ab3
- ECOSYSTEM: ≥ 1.8, < 39.0.1
Actualiza a 39.0.1
python-cryptography Ubuntu:Pro:18.04:LTS
- Versiones
- 1.9-1
- 2.1.3-3
- 2.1.4-1
- 2.1.4-1build1
- 2.1.4-1build2
- 2.1.4-1ubuntu1
- 2.1.4-1ubuntu1.1
- 2.1.4-1ubuntu1.2
- 2.1.4-1ubuntu1.3
- 2.1.4-1ubuntu1.4
- 2.1.4-1ubuntu1.4+esm1
- 2.1.4-1ubuntu1.4+esm3
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.1.4-1ubuntu1.4+esm6
Actualiza a 2.1.4-1ubuntu1.4+esm6
python-cryptography Ubuntu:20.04:LTS
- Versiones
- 2.6.1-3.1
- 2.6.1-4
- 2.6.1-4ubuntu1
- 2.8-1ubuntu2
- 2.8-2
- 2.8-3
- 2.8-3ubuntu0.1
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.8-3ubuntu0.2
Actualiza a 2.8-3ubuntu0.2
python-cryptography Ubuntu:22.04:LTS
- Versiones
- 3.3.2-1
- 3.3.2-1build1
- 3.4.8-1
- 3.4.8-1ubuntu1
- 3.4.8-1ubuntu2
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.4.8-1ubuntu2.1
Actualiza a 3.4.8-1ubuntu2.1
Fuentes originales
- https://github.com/pyca/cryptography/security/advisories/GHSA-w7pp-m8wf-vj6r
- https://github.com/pyca/cryptography/pull/8230/commits/94a50a9731f35405f0357fa5f3b177d46a726ab3
- https://security.netapp.com/advisory/ntap-20230324-0007/
- https://lists.debian.org/debian-lts-announce/2024/10/msg00012.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-23931