CVE-2023-23931
Cipher.update_into can corrupt memory in pyca cryptography
02 Description
Cipher.update_into can corrupt memory in pyca cryptography
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 1.30% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 70.0% of scored records. A rank, not a probability.
- NVD base score
- 6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2023-02-07 20:54Z3 YR AGO
- Last updated
- 2025-11-03 21:47Z11 MO AGO
- Reserved
- 2023-01-19
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 4.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- Weaknesses
- CWE-754Improper Check for Unusual or Exceptional ConditionsClass
- Data version
- 5.2
- Document digest
- 4a73c341fb6abcd520abc176e8ad37d8105ccbe02d0e94bc66ae24ef9fe1822b
05 Affected products
06 References
- github.comhttps://github.com/pyca/cryptography/security/advisories/GHSA-w7pp-m8wf-vj6r
- github.comhttps://github.com/pyca/cryptography/pull/8230/commits/94a50a9731f35405f0357fa5f3b177d46a726ab3
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20230324-0007/
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2024/10/msg00012.html
07 Fixed in
AlmaLinux 8
- python3-cryptography Fixed in 3.2.1-6.el8
- python39 Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
- python39-Cython Fixed
A version is affected if any line below covers it.
- Affected before 0.29.21-5.module_el8.6.0+2780+a40f65e1
- Affected before 0.29.21-5.module_el8.6.0+3248+c431e88c
- python39-PyMySQL Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
- python39-attrs Fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
- python39-cffi Fixed
A version is affected if any line below covers it.
- Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
- Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
- python39-chardet Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
- python39-cryptography Fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
- python39-debug Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
- python39-devel Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
- python39-idle Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
- python39-idna Fixed in 2.10-3.module_el8.6.0+2780+a40f65e1
- python39-iniconfig Fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1
- python39-libs Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
- python39-lxml Fixed
A version is affected if any line below covers it.
- Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
- Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
- python39-mod_wsgi Fixed in 4.7.1-7.module_el8.9.0+3634+fb2a896c
- python39-more-itertools Fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1
- python39-numpy Fixed
A version is affected if any line below covers it.
- Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
- Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
- python39-numpy-doc Fixed in 1.19.4-3.module_el8.6.0+2780+a40f65e1
- python39-numpy-f2py Fixed
A version is affected if any line below covers it.
- Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
- Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
- python39-packaging Fixed in 20.4-4.module_el8.6.0+2780+a40f65e1
- python39-pip Fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d
- python39-pip-wheel Fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d
- python39-pluggy Fixed in 0.13.1-3.module_el8.6.0+2780+a40f65e1
- python39-ply Fixed in 3.11-10.module_el8.6.0+2780+a40f65e1
- python39-psutil Fixed
A version is affected if any line below covers it.
- Affected before 5.8.0-4.module_el8.6.0+2780+a40f65e1
- Affected before 5.8.0-4.module_el8.6.0+3248+c431e88c
- python39-psycopg2 Fixed in 2.8.6-3.module_el8.10.0+3765+2f9a457d
- python39-psycopg2-doc Fixed in 2.8.6-3.module_el8.10.0+3765+2f9a457d
- python39-psycopg2-tests Fixed in 2.8.6-3.module_el8.10.0+3765+2f9a457d
- python39-py Fixed in 1.10.0-1.module_el8.6.0+2780+a40f65e1
- python39-pybind11 Fixed
A version is affected if any line below covers it.
- Affected before 2.7.1-1.module_el8.6.0+2780+a40f65e1
- Affected before 2.7.1-1.module_el8.6.0+3248+c431e88c
- python39-pybind11-devel Fixed
A version is affected if any line below covers it.
- Affected before 2.7.1-1.module_el8.6.0+2780+a40f65e1
- Affected before 2.7.1-1.module_el8.6.0+3248+c431e88c
- python39-pycparser Fixed in 2.20-3.module_el8.6.0+2780+a40f65e1
- python39-pyparsing Fixed in 2.4.7-5.module_el8.6.0+2780+a40f65e1
- python39-pysocks Fixed in 1.7.1-4.module_el8.6.0+2780+a40f65e1
- python39-pytest Fixed in 6.0.2-2.module_el8.6.0+2780+a40f65e1
- python39-pyyaml Fixed
A version is affected if any line below covers it.
- Affected before 5.4.1-1.module_el8.6.0+2780+a40f65e1
- Affected before 5.4.1-1.module_el8.6.0+3248+c431e88c
- python39-requests Fixed in 2.25.0-3.module_el8.9.0+3634+fb2a896c
- python39-rpm-macros Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
- python39-scipy Fixed in 1.5.4-5.module_el8.9.0+3634+fb2a896c
10 further packages in AlmaLinux 8 not shown (first 40 listed).
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- python3-cryptography Fixed in 36.0.1-4.el9
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- python3-cryptography Fixed in 3.2.1-6.el8
- python39 Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
- python39-Cython Fixed
A version is affected if any line below covers it.
- Affected before 0.29.21-5.module_el8.6.0+2780+a40f65e1
- Affected before 0.29.21-5.module_el8.6.0+3248+c431e88c
- python39-PyMySQL Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
- python39-attrs Fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
- python39-cffi Fixed
A version is affected if any line below covers it.
- Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
- Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
- python39-chardet Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
- python39-cryptography Fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
- python39-debug Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
- python39-devel Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
- python39-idle Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
- python39-idna Fixed in 2.10-3.module_el8.6.0+2780+a40f65e1
- python39-iniconfig Fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1
- python39-libs Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
- python39-lxml Fixed
A version is affected if any line below covers it.
- Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
- Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
- python39-mod_wsgi Fixed in 4.7.1-7.module_el8.9.0+3634+fb2a896c
- python39-more-itertools Fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1
- python39-numpy Fixed
A version is affected if any line below covers it.
- Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
- Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
- python39-numpy-doc Fixed in 1.19.4-3.module_el8.6.0+2780+a40f65e1
- python39-numpy-f2py Fixed
A version is affected if any line below covers it.
- Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
- Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
- python39-packaging Fixed in 20.4-4.module_el8.6.0+2780+a40f65e1
- python39-pip Fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d
- python39-pip-wheel Fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d
- python39-pluggy Fixed in 0.13.1-3.module_el8.6.0+2780+a40f65e1
- python39-ply Fixed in 3.11-10.module_el8.6.0+2780+a40f65e1
- python39-psutil Fixed
A version is affected if any line below covers it.
- Affected before 5.8.0-4.module_el8.6.0+2780+a40f65e1
- Affected before 5.8.0-4.module_el8.6.0+3248+c431e88c
- python39-psycopg2 Fixed in 2.8.6-3.module_el8.10.0+3765+2f9a457d
- python39-psycopg2-doc Fixed in 2.8.6-3.module_el8.10.0+3765+2f9a457d
- python39-psycopg2-tests Fixed in 2.8.6-3.module_el8.10.0+3765+2f9a457d
- python39-py Fixed in 1.10.0-1.module_el8.6.0+2780+a40f65e1
- python39-pybind11 Fixed
A version is affected if any line below covers it.
- Affected before 2.7.1-1.module_el8.6.0+2780+a40f65e1
- Affected before 2.7.1-1.module_el8.6.0+3248+c431e88c
- python39-pybind11-devel Fixed
A version is affected if any line below covers it.
- Affected before 2.7.1-1.module_el8.6.0+2780+a40f65e1
- Affected before 2.7.1-1.module_el8.6.0+3248+c431e88c
- python39-pycparser Fixed in 2.20-3.module_el8.6.0+2780+a40f65e1
- python39-pyparsing Fixed in 2.4.7-5.module_el8.6.0+2780+a40f65e1
- python39-pysocks Fixed in 1.7.1-4.module_el8.6.0+2780+a40f65e1
- python39-pytest Fixed in 6.0.2-2.module_el8.6.0+2780+a40f65e1
- python39-pyyaml Fixed
A version is affected if any line below covers it.
- Affected before 5.4.1-1.module_el8.6.0+2780+a40f65e1
- Affected before 5.4.1-1.module_el8.6.0+3248+c431e88c
- python39-requests Fixed in 2.25.0-3.module_el8.9.0+3634+fb2a896c
- python39-rpm-macros Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
- python39-scipy Fixed in 1.5.4-5.module_el8.9.0+3634+fb2a896c
10 further packages in CloudLinux 8 not shown (first 40 listed).
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- python3-cryptography Fixed in 36.0.1-4.el9
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- python-cryptography Fixed in 38.0.4-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- python-cryptography Fixed in 38.0.4-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- python-cryptography Fixed in 38.0.4-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- python-cryptography Fixed in 2.8-3ubuntu0.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- python-cryptography Fixed in 3.4.8-1ubuntu2.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- python-cryptography Fixed in 2.1.4-1ubuntu1.4+esm6Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.