Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Cryptography versions from 1.8 up to but not including 39.0.1 are affected: Cipher.update_into would accept immutable buffer objects such as bytes as its output buffer, allowing them to be mutated. An attacker cannot exploit this with attacker-controlled data alone; it requires a programmer to misuse the API. Upgrade to cryptography 39.0.1 or later, which raises an exception in this case.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 4.8 | Medium | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.013, the 70th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 7 Feb 2023, 19:48 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:37 UTC First seen by agentprime
- 31 Oct 2026, 14:37 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-w7pp-m8wf-vj6r
- OSV: GHSA-w7pp-m8wf-vj6r
- github.com/pyca/cryptography/security/advisories/GHSA-w7pp-m8wf-vj6r
- nvd.nist.gov/vuln/detail/CVE-2023-23931
- github.com/pyca/cryptography/pull/8230
- github.com/pyca/cryptography/commit/d6951dca25de45abd52da51b608055371fbcde4e
- github.com/pyca/cryptography
- github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-11.yaml
- lists.debian.org/debian-lts-announce/2024/10/msg00012.html
- security.netapp.com/advisory/ntap-20230324-0007