CVE-2023-38325
JSON

7.5high

cryptography mishandles SSH certificates

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
0.73% (higher than 55% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-cf7p-gm2m-833mPYSEC-2023-112

Description

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

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
cryptography (PyPI)from 40.0.0 before 41.0.2GitHub Advisory Database, PyPA Advisory Database
cryptography.io cryptographyfrom 40.0.0 before 41.0.2NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-295

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

References

https://github.com/pyca/cryptography/issues/9207exploit, issue-tracking, patch, report, vendor-advisory, web
https://github.com/pyca/cryptography/pull/9208patch, vendor-advisory, web
https://pypi.org/project/cryptography/#historypackage, release-notes, web
https://github.com/pyca/cryptography/compare/41.0.1...41.0.2patch, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK/vendor-advisory
https://security.netapp.com/advisory/ntap-20230824-0010/
https://nvd.nist.gov/vuln/detail/CVE-2023-38325advisory
https://github.com/pyca/cryptography/pull/7960web
https://github.com/pyca/cryptography/commit/1ca7adc97b76a9dfbd3d850628b613eb93b78fc3web
https://github.com/pyca/cryptographypackage
https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-112.yamlweb
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZKweb

Sources

SourceRecordLicence
CVE ListCVE-2023-38325 changed 2024-10-30CVE Terms of Use
GitHub Advisory DatabaseGHSA-cf7p-gm2m-833m changed 2026-09-10CC-BY-4.0
NVDCVE-2023-38325 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2023-112 changed 2026-06-10CC-BY-4.0