---
cve: "CVE-2023-23931"
severity: "MEDIUM"
cvss: 4.8
epss: "1.3%"
vendor: "pyca"
kev: false
exploited: false
published: "2023-02-07 21:15:09"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-20T19:55:44+02:00"
---

# CVE-2023-23931

> 4.8 MEDIUM · 🧪 PoC

## Beschreibung

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-Vektor

```
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Hoch | good |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Keine | good |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Gering | warn |

## Patch verfügbar (OSV)

- d6951dca25de45abd52da51b608055371fbcde4e (Commit)

## Referenzen

- <https://github.com/pyca/cryptography/security/advisories/GHSA-w7pp-m8wf-vj6r>
- <https://github.com/pyca/cryptography/pull/8230/commits/94a50a9731f35405f0357fa5f3b177d46a726ab3>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00012.html>
- <https://security.netapp.com/advisory/ntap-20230324-0007/>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2023-23931) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
