CVE-2023-38325
published 2023-07-14CVE-2023-38325: The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
PriorityP337high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
0.73%
50.0th percentile
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cryptography.io | cryptography | >= 40.0.0 < 41.0.2 | 41.0.2 |
| cryptography.io | cryptography | >= 40.0.0 < 41.0.2 | 41.0.2 |
| debian | python-cryptography | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
osv7.5HIGH
vendor_debian7.5LOW
vendor_msrc7.5HIGH
vendor_oracle7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Oracle
Oracle Oracle Communications Risk Matrix: Install/Upgrade (Cryptography) — CVE-2023-38325
vendor_oracle·2024-01-15·CVSS 7.5
CVE-2023-38325 [HIGH] Oracle Oracle Communications Risk Matrix: Install/Upgrade (Cryptography) — CVE-2023-38325
Oracle Oracle Communications Risk Matrix: Install/Upgrade (Cryptography) vulnerability
CVE: CVE-2023-38325
CVSS: 7.5
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpujan2024 (JAN 2024)
Red Hat
python-cryptography: SSH certificate encoding/parsing incompatibility with OpenSSH
vendor_redhat·2023-07-15·CVSS 7.5
CVE-2023-38325 [HIGH] CWE-295 python-cryptography: SSH certificate encoding/parsing incompatibility with OpenSSH
python-cryptography: SSH certificate encoding/parsing incompatibility with OpenSSH
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
Statement: OpenSSH certificate parsing was introduced in python-cryptography v40.0.0 and fixed in upstream release v41.0.2. Since, Red Hat Enterprise Linux - 7, 8, 9 ships lower versions of python-cryptography (releases < v40.0.0), those are not affected by this CVE.
Package: ansible-tower (Red Hat Ansible Automation Platform 1.2) - Not affected
Package: ansible-lint (Red Hat Ansible Automation Platform 2) - Not affected
Package: ansible-navigator (Red Hat Ansible Automation Platform 2) - Not affected
Package: automation-controller (Red Hat Ansible Automation Platform 2) - Not affected
Package: py
Microsoft
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
vendor_msrc·2023-07-11·CVSS 7.5
CVE-2023-38325 [HIGH] CWE-295 The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Debian
CVE-2023-38325: python-cryptography - The cryptography package before 41.0.2 for Python mishandles SSH certificates th...
vendor_debian·2023·CVSS 7.5
CVE-2023-38325 [HIGH] CVE-2023-38325: python-cryptography - The cryptography package before 41.0.2 for Python mishandles SSH certificates th...
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
GHSA
cryptography mishandles SSH certificates
ghsa·2023-07-14
CVE-2023-38325 [HIGH] CWE-295 cryptography mishandles SSH certificates
cryptography mishandles SSH certificates
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
OSV
CVE-2023-38325: The cryptography package before 41
osv·2023-07-14·CVSS 7.5
CVE-2023-38325 [HIGH] CVE-2023-38325: The cryptography package before 41
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
OSV
cryptography mishandles SSH certificates
osv·2023-07-14
CVE-2023-38325 [HIGH] cryptography mishandles SSH certificates
cryptography mishandles SSH certificates
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
No detection rules found.
No public exploits indexed.
https://github.com/pyca/cryptography/compare/41.0.1...41.0.2https://github.com/pyca/cryptography/issues/9207https://github.com/pyca/cryptography/pull/9208https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK/https://pypi.org/project/cryptography/#historyhttps://security.netapp.com/advisory/ntap-20230824-0010/https://github.com/pyca/cryptography/compare/41.0.1...41.0.2https://github.com/pyca/cryptography/issues/9207https://github.com/pyca/cryptography/pull/9208https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK/https://pypi.org/project/cryptography/#historyhttps://security.netapp.com/advisory/ntap-20230824-0010/
2023-07-14
Published