CVE-2023-38325
HIGH 7.5CVSS 3.1cryptography mishandles SSH certificates
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
- Published
- 14 Jul 2023
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-295
- Also known as
- GHSA-cf7p-gm2m-833mPYSEC-2023-112
- Sources
- NVDJSONOSV GHSA-cf7p-gm2m-833mJSONOSV PYSEC-2023-112JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cryptography.io | cryptographycpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:* |
>= 40.0.0, < 41.0.2 | 41.0.2 |
| OSV | PyPI | cryptography | >= 40.0.0, < 41.0.2 | 41.0.2 |
References
- https://github.com/pyca/cryptography/compare/41.0.1...41.0.2 · Patch, WEB
- https://github.com/pyca/cryptography/issues/9207 · Exploit, Issue Tracking, Patch, Vendor Advisory, WEB, REPORT
- https://github.com/pyca/cryptography/pull/9208 · Patch, Vendor Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK/ · WEB
- https://pypi.org/project/cryptography/#history · Release Notes, WEB, PACKAGE
- https://security.netapp.com/advisory/ntap-20230824-0010/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-38325 · ADVISORY
- https://github.com/pyca/cryptography/pull/7960 · WEB
- https://github.com/pyca/cryptography/commit/1ca7adc97b76a9dfbd3d850628b613eb93b78fc3 · WEB
- https://github.com/pyca/cryptography · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-112.yaml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK · WEB
- https://github.com/advisories/GHSA-cf7p-gm2m-833m · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 14 Jul 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 Jul 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Jul 2023)