Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. cryptography
  4. ›
  5. CVE-2023-38325

CVE-2023-38325: cryptography mishandles SSH certificates

July 14, 2023 (updated September 13, 2024)

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

References

  • github.com/advisories/GHSA-cf7p-gm2m-833m
  • github.com/pyca/cryptography
  • github.com/pyca/cryptography/commit/1ca7adc97b76a9dfbd3d850628b613eb93b78fc3
  • github.com/pyca/cryptography/compare/41.0.1...41.0.2
  • github.com/pyca/cryptography/issues/9207
  • github.com/pyca/cryptography/pull/7960
  • github.com/pyca/cryptography/pull/9208
  • github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-112.yaml
  • lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK
  • nvd.nist.gov/vuln/detail/CVE-2023-38325
  • pypi.org/project/cryptography/
  • security.netapp.com/advisory/ntap-20230824-0010

Code Behaviors & Features

Detect and mitigate CVE-2023-38325 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 40.0.0 before 41.0.2

Fixed versions

  • 41.0.2

Solution

Upgrade to version 41.0.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

pypi/cryptography/CVE-2023-38325.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:42 +0000.