cryptography mishandles SSH certificates
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | cryptography | >= 40.0.0, < 41.0.2 | 41.0.2 |
References
- https://pypi.org/project/cryptography/#history
- https://github.com/pyca/cryptography/compare/41.0.1...41.0.2
- https://github.com/pyca/cryptography/issues/9207
- https://github.com/pyca/cryptography/pull/9208
- https://github.com/advisories/GHSA-cf7p-gm2m-833m
- https://nvd.nist.gov/vuln/detail/CVE-2023-38325
- https://github.com/pyca/cryptography/pull/7960
- https://github.com/pyca/cryptography/commit/1ca7adc97b76a9dfbd3d850628b613eb93b78fc3
- https://github.com/pyca/cryptography
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-112.yaml
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK
- https://security.netapp.com/advisory/ntap-20230824-0010
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-295- Platform
- Python (PyPI)
- Package
cryptography- Disclosed
- 14.07.2023
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2023-112 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-cf7p-gm2m-833m - CC BY 4.0
Vulnerability history: cryptography
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 24
- First → latest
- 03.2017 08.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 12
- Medium 7
- Low 5
Disclosures per year
- 2017: 1
- 2018: 1
- 2019: 0
- 2020: 1
- 2021: 1
- 2022: 1
- 2023: 7
- 2024: 4
- 2025: 1
- 2026: 7
-
cryptography mishandles SSH certificates this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.