Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-38325

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-38325
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 08:43 UTC · Revision 1

Source evidence

CVE-2023-38325

core-osv · Original source

Published 14 Jul 2023, 00:00 UTC

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

osv:CVE-2023-38325
Complete source record
{
  "id": "6d2015c96cbca2ed5bf4959a449f1120d11c6263123715633e6243b7e00bdaa5",
  "url": "https://osv.dev/vulnerability/CVE-2023-38325",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-38325",
    "summary": "The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.",
    "evidence": "osv:CVE-2023-38325",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-38325",
      "aliases": [
        "CVE-2023-38325",
        "GHSA-cf7p-gm2m-833m",
        "PYSEC-2023-112"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pyca/cryptography",
              "type": "GIT",
              "events": [
                {
                  "introduced": "45e37718098edca2c5ac2135394bcf17fd7982f0"
                },
                {
                  "fixed": "7431db737cf0407560fac689d24f1d2e5efc349d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "41.0.2"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "cpe": "cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "40.0.0"
                      },
                      {
                        "fixed": "41.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "41.0.1",
            "41.0.0",
            "40.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-38325.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.551329957Z",
      "provider": "osv",
      "references": [
        "https://github.com/pyca/cryptography/compare/41.0.1...41.0.2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38325.json",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK/",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-38325",
        "https://security.netapp.com/advisory/ntap-20230824-0010/",
        "https://github.com/pyca/cryptography/issues/9207",
        "https://github.com/pyca/cryptography/pull/9208",
        "https://pypi.org/project/cryptography/#history"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38325.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-38325",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 518790,
  "published_at": "2023-07-14T00:00:00+00:00"
}