CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:LMedium (6.5) in cryptography.io cryptography. EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in cryptography 39.0.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Lcryptography (PyPI): fixed in 39.0.1Explain CVE-2023-23931 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-23931?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-23931?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-23931 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| cryptography.io:cryptography | from 1.8 before 39.0.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-w7pp-m8wf-vj6r | PyPI | cryptography | >=1.8 <39.0.1 | 39.0.1 |
| PYSEC-2023-11 | PyPI | cryptography | >=1.8 <39.0.1 | 39.0.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | python-cryptography | 2.6.1-3+deb10u3 | DLA-3331-1 |
| Debian | 10 | python-cryptography | 2.6.1-3+deb10u4 | DLA-3331-2 |
| Debian | 11 | python-cryptography | 3.3.2-1+deb11u1 | DLA-3922-1 |
| Debian | 12, 13, 14 | python-cryptography | 38.0.4-3 | DEBIAN-CVE-2023-23931 |
| Ubuntu | 20.04:LTS | python-cryptography | 2.8-3ubuntu0.2 | UBUNTU-CVE-2023-23931 USN-6539-1 |
| Ubuntu | 22.04:LTS | python-cryptography | 3.4.8-1ubuntu2.1 | UBUNTU-CVE-2023-23931 USN-6539-1 |
| Ubuntu | 26.04:LTS | python-cryptography | 46.0.5-1ubuntu2.2 | USN-8776-1 |
| Ubuntu | Pro:18.04:LTS | python-cryptography | 2.1.4-1ubuntu1.4+esm6 | UBUNTU-CVE-2023-23931 USN-8776-1 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-controller-venv-tower | 0:4.4.3-1.el8ap | RHSA-2023:4971 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-eda-controller, automation-eda-controller-ui, automation-eda-controller-server | 0:1.0.1-1.el8ap | RHSA-2023:4693 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-django, python3x-django | 0:3.2.20-1.el8ap | RHSA-2023:4693 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-gitpython, python3x-gitpython | 0:3.1.32-1.el8ap | RHSA-2023:4971 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-requests, python3x-requests | 0:2.31.0-1.el8ap | RHSA-2023:4693 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8 | python39-cryptography, python3x-cryptography, python39-cryptography-debuginfo and 1 more | 0:38.0.4-2.el8ap | RHSA-2023:4693 |
| Red Hat | ansible_automation_platform:2.4::el9 | automation-controller-venv-tower | 0:4.4.3-1.el9ap | RHSA-2023:4971 |
| Red Hat | ansible_automation_platform:2.4::el9 | automation-eda-controller, automation-eda-controller-ui, automation-eda-controller-server | 0:1.0.1-1.el9ap | RHSA-2023:4693 |
| Red Hat | ansible_automation_platform:2.4::el9 | python-django, python3-django | 0:3.2.20-1.el9ap | RHSA-2023:4693 |
| Red Hat | ansible_automation_platform:2.4::el9 | python-gitpython, python3-gitpython | 0:3.1.32-1.el9ap | RHSA-2023:4971 |
| Red Hat | ansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9 | python-cryptography, python3-cryptography, python3-cryptography-debuginfo and 1 more | 0:38.0.4-2.el9ap | RHSA-2023:4693 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python39-pyyaml, PyYAML-debugsource and 1 more | 0:5.4.1-1.module+el8.9.0+19644+d68f775d | RHSA-2024:2985 |
| 42 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | HPE Helion OpenStack 8 | venv-openstack-horizon-hpe | 12.0.5~dev6-14.52.1 | SUSE-SU-2023:2144-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-aodh | 5.1.1~dev7-12.44.1 | SUSE-SU-2023:2144-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-barbican | 5.0.2~dev3-12.47.1 | SUSE-SU-2023:2144-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-ceilometer | 9.0.8~dev7-12.42.1 | SUSE-SU-2023:2144-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-cinder | 11.2.3~dev29-14.46.1 | SUSE-SU-2023:2144-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-designate | 5.0.3~dev7-12.43.1 | SUSE-SU-2023:2144-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-freezer | 5.0.0.0~xrc2~dev2-10.40.1 | SUSE-SU-2023:2144-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-glance | 15.0.3~dev3-12.43.1 | SUSE-SU-2023:2144-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-heat | 9.0.8~dev22-12.49.1 | SUSE-SU-2023:2144-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-ironic | 9.1.8~dev8-12.45.1 | SUSE-SU-2023:2144-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-keystone | 12.0.4~dev11-11.49.1 | SUSE-SU-2023:2144-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-magnum | 5.0.2_5.0.2_5.0.2~dev31-11.44.1 | SUSE-SU-2023:2144-1 |
| 38 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.4, Leap Micro 5.3 | python-cryptography | 3.3.2-150400.16.6.1 | SUSE-SU-2023:0722-1 |
| openSUSE | Tumbleweed | python-cryptography | 39.0.1-1.1 | openSUSE-SU-2024:12681-1 |
| openSUSE | Tumbleweed | python-cryptography | 44.0.0-1.1 | openSUSE-SU-2025:14739-1 |
| openSUSE | Tumbleweed | python-oci-sdk | 2.180.0-1.2 | openSUSE-SU-2026:12020-1 |
| AlmaLinux | 8 | python3-cryptography | 3.2.1-6.el8 | ALSA-2023:7096 |
| AlmaLinux | 8 | python39, python39-idle, python39-libs and 5 more | 3.9.18-3.module_el8.10.0+3765+2f9a457d | ALSA-2024:2985 |
| AlmaLinux | 8 | python39-Cython | 0.29.21-5.module_el8.6.0+2780+a40f65e1 | ALSA-2024:2985 |
| AlmaLinux | 8 | python39-Cython | 0.29.21-5.module_el8.6.0+3248+c431e88c | ALSA-2024:2985 |
| AlmaLinux | 8 | python39-PyMySQL | 0.10.1-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:2985 |
| AlmaLinux | 8 | python39-attrs | 20.3.0-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:2985 |
| AlmaLinux | 8 | python39-cffi | 1.14.3-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:2985 |
| AlmaLinux | 8 | python39-cffi | 1.14.3-2.module_el8.6.0+3248+c431e88c | ALSA-2024:2985 |
| AlmaLinux | 8 | python39-chardet | 3.0.4-19.module_el8.6.0+2780+a40f65e1 | ALSA-2024:2985 |
| AlmaLinux | 8 | python39-cryptography | 3.3.1-3.module_el8.10.0+3765+2f9a457d | ALSA-2024:2985 |
| AlmaLinux | 8 | python39-idna | 2.10-3.module_el8.6.0+2780+a40f65e1 | ALSA-2024:2985 |
| AlmaLinux | 8 | python39-iniconfig | 1.1.1-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:2985 |
| 31 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | Cython | 0:0.29.21-5.module+el8.10.0+1582+bc278001 | RLSA-2024:2985 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.10.0+1582+bc278001 | RLSA-2024:2985 |
| Rocky Linux | 8 | mod_wsgi | 0:4.7.1-7.module+el8.10.0+1582+bc278001 | RLSA-2024:2985 |
| Rocky Linux | 8 | numpy | 0:1.19.4-3.module+el8.10.0+1582+bc278001 | RLSA-2024:2985 |
| Rocky Linux | 8 | pybind11 | 0:2.7.1-1.module+el8.9.0+1357+a3b80af7 | RLSA-2024:2985 |
| Rocky Linux | 8 | pytest | 0:6.0.2-2.module+el8.10.0+1582+bc278001 | RLSA-2024:2985 |
| Rocky Linux | 8 | python-PyMySQL | 0:0.10.1-2.module+el8.10.0+1582+bc278001 | RLSA-2024:2985 |
| Rocky Linux | 8 | python-attrs | 0:20.3.0-2.module+el8.10.0+1582+bc278001 | RLSA-2024:2985 |
| Rocky Linux | 8 | python-cffi | 0:1.14.3-2.module+el8.10.0+1582+bc278001 | RLSA-2024:2985 |
| Rocky Linux | 8 | python-chardet | 0:3.0.4-19.module+el8.10.0+1582+bc278001 | RLSA-2024:2985 |
| Rocky Linux | 8 | python-cryptography | 0:3.3.1-3.module+el8.10.0+1697+7e517775 | RLSA-2024:2985 |
| Rocky Linux | 8 | python-iniconfig | 0:1.1.1-2.module+el8.9.0+1332+dd574197 | RLSA-2024:2985 |
| 20 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.17 | py3-cryptography | 38.0.3-r1 | ALPINE-CVE-2023-23931 |
| Alpine | v3.18, v3.19, v3.20 and 4 more | py3-cryptography | 39.0.1-r0 | ALPINE-CVE-2023-23931 |
| Azure Linux | 2 | python-cryptography | 3.3.2-4 | AZL-13353 |
| Azure Linux | 3 | python-cryptography | 3.3.2-5 | AZL-35127 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | python3x-cryptography-0:38.0.4-2.el8ap | Fixed 2023-08-21 | RHSA-2023:4693 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | automation-controller-0:4.4.3-1.el8ap | Fixed 2023-09-05 | RHSA-2023:4971 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | python-cryptography-0:38.0.4-2.el9ap | Fixed 2023-08-21 | RHSA-2023:4693 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | automation-controller-0:4.4.3-1.el9ap | Fixed 2023-09-05 | RHSA-2023:4971 |
| Red Hat Enterprise Linux 8 | python39:3.9-8100020240214182535.7044f6c1 | Fixed 2024-05-22 | RHSA-2024:2985 |
| Red Hat Enterprise Linux 8 | python39-devel:3.9-8100020240214182535.7044f6c1 | Fixed 2024-05-22 | RHSA-2024:2985 |
| Red Hat Enterprise Linux 8 | python-cryptography-0:3.2.1-6.el8 | Fixed 2023-11-14 | RHSA-2023:7096 |
| Red Hat Enterprise Linux 9 | python-cryptography-0:36.0.1-4.el9 | Fixed 2023-11-07 | RHSA-2023:6615 |
| Red Hat Quay 3 | quay/quay-rhel8:v3.10.0-150 | Fixed 2023-11-30 | RHSA-2023:7341 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-cryptography-0:2.8-6.el7 | Fixed 2023-11-08 | RHSA-2023:6793 |
| Red Hat Ansible Automation Platform 2 | ansible-lint | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-navigator | Not affected | |
| Red Hat Discovery 1 | discovery-server-container | Affected | |
| Red Hat Enterprise Linux 7 | python-cryptography | Out of support scope | |
| Red Hat Enterprise Linux 8 | python3.11-cryptography | Not affected | |
| Red Hat Enterprise Linux 8 | python38:3.8/python-cryptography | Will not fix | |
| Red Hat Enterprise Linux 9 | python3.11-cryptography | Not affected | |
| Red Hat JBoss Enterprise Application Platform 7 | python-cryptography | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | python-cryptography | Not affected | |
| Red Hat OpenShift Data Science (RHODS) | odh-minimal-notebook-container | Will not fix | |
| 3 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-23931.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-24-046-11 | Siemens SCALANCE XCM-/XRM-300 | 2024-02-13 | Multiple | SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.