Skip to content
Fencer Vulns
high 7.5

CVE-2023-38325 json

cryptography mishandles SSH certificates

published 2023-07-14 3 y ago modified 2026-09-10 1 mo ago also GHSA-cf7p-gm2m-833m , PYSEC-2023-112 , EUVD-2023-0059

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 54%
public exploits
0
none known

Summary

The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.

Patch / fix

  • pypi cryptography 41.0.2
  • cryptography.io cryptography 41.0.2
  • python-cryptography openSUSE Tumbleweed 50.0.0-1.1
  • python-cryptography openSUSE Tumbleweed 41.0.2-2.1

opensuse advisories openSUSE-SU-2026:11468-1openSUSE-SU-2024:13078-1

  • py3-cryptography Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 41.0.2-r0

alpine advisories ALPINE-CVE-2023-38325

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-38325 updated cvss 7.5

python-cryptography: SSH certificate encoding/parsing incompatibility with OpenSSH

  • Red Hat Ansible Automation Platform 1.2 ansible-tower Red Hat Ansible Automation Platform 2 ansible-lint, ansible-navigator, python-cryptography, automation-controller, python-ansible-compat, python3x-cryptography, +1 more Red Hat Certification for Red Hat Enterprise Linux 6 redhat-certification-backend Red Hat Certification for Red Hat Enterprise Linux 8 redhat-certification-baremetal-container Red Hat Enterprise Linux 7 python-adal, python-cryptography, python2-cryptography Red Hat Enterprise Linux 8 python-cryptography, python3-cryptography, python3.11-cryptography
    +5 more products
    Red Hat Enterprise Linux 9 fence-virt, fence-virtd, fence-agents, fence-virtd-cpg, fence-virtd-tcp, fence-agents-all, +54 more Red Hat Quay 3 quay/quay-rhel8 Red Hat Satellite 6 python-cryptography, python3-cryptography, python-types-cryptography, ansiblerole-foreman_scap_client, tfm-pulpcore-python-cryptography Red Hat Software Collections rh-python38-python-cryptography Red Hat Update Infrastructure 4 for Cloud Providers python-cryptography, python-types-cryptography
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.73% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/pyca/cryptography/issues/9207 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
pypi cryptography
>=40.0.0, <41.0.2
41.0.2

Classification

Weakness
  • CWE-295 Improper Certificate Validation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.