{"id":"CVE-2023-38325","aliases":["CVE-2023-38325","GHSA-cf7p-gm2m-833m","PYSEC-2023-112"],"related":[],"kind":"vulnerability","state":"published","title":"cryptography mishandles SSH certificates","summary":"The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.","source":"cvelist"}],"published":"2023-07-14T00:00:00.000Z","modified":"2026-09-10T03:49:57.356Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"40.0.0","status":"affected","fixed":"41.0.2"}],"ecosystem":"PyPI","package":"cryptography","purl":"pkg:pypi/cryptography","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"40.0.0","fixed":"41.0.2"}],"vendor":"cryptography.io","product":"cryptography","cpe":"cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"40.0.0","status":"affected","fixed":"41.0.2"}],"ecosystem":"PyPI","package":"cryptography","purl":"pkg:pypi/cryptography","source":"pysec"}],"references":[{"url":"https://github.com/pyca/cryptography/issues/9207","tags":["exploit","issue-tracking","patch","report","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/pyca/cryptography/pull/9208","tags":["patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://pypi.org/project/cryptography/#history","tags":["package","release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/pyca/cryptography/compare/41.0.1...41.0.2","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230824-0010/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38325","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pyca/cryptography/pull/7960","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pyca/cryptography/commit/1ca7adc97b76a9dfbd3d850628b613eb93b78fc3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pyca/cryptography","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-112.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20230824-0010","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-cf7p-gm2m-833m","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-10-30T16:00:20.830Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-38325","url":"https://www.cve.org/CVERecord?id=CVE-2023-38325","licence":"CVE Terms of Use","modified":"2024-10-30T16:00:29.757Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cf7p-gm2m-833m","url":"https://github.com/advisories/GHSA-cf7p-gm2m-833m","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:57.356Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-38325","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38325","licence":"Public domain","modified":"2026-06-17T06:09:55.030Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2023-112","url":"https://osv.dev/vulnerability/PYSEC-2023-112","licence":"CC-BY-4.0","modified":"2026-06-10T17:00:55.200Z"}],"updatedAt":"2026-11-25T22:58:25.807Z","epss":{"score":0.00726,"percentile":0.55352,"date":"2026-12-01T12:00:22.000Z"}}