{"id":"CVE-2023-38325","aliases":["ALPINE-CVE-2023-38325","BELL-CVE-2023-38325","EUVD-2023-0059","GHSA-cf7p-gm2m-833m","PYSEC-2023-112","openSUSE-SU-2024:13078-1","openSUSE-SU-2026:11468-1"],"status":"published","title":"cryptography mishandles SSH certificates","description":"The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00726,"percentile":0.54587,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-295"],"published":"2023-07-14T00:00:00Z","modified":"2026-11-03T06:32:01Z","fixes":[{"ecosystem":"PyPI","package":"cryptography","fixed_in":["41.0.2"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.18","package":"py3-cryptography","fixed_in":["41.0.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"py3-cryptography","fixed_in":["41.0.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"py3-cryptography","fixed_in":["41.0.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"py3-cryptography","fixed_in":["41.0.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"py3-cryptography","fixed_in":["41.0.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"py3-cryptography","fixed_in":["41.0.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"py3-cryptography","fixed_in":["41.0.2-r0"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"python-cryptography","fixed_in":["41.0.2-2.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"40.0.0"},{"fixed":"41.0.2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"py3-cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"40.0.0"},{"fixed":"41.0.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"py3-cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"40.0.0"},{"fixed":"41.0.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"py3-cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"40.0.0"},{"fixed":"41.0.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"py3-cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"40.0.0"},{"fixed":"41.0.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"py3-cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"40.0.0"},{"fixed":"41.0.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"py3-cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"40.0.0"},{"fixed":"41.0.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"py3-cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"40.0.0"},{"fixed":"41.0.2-r0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"40.0.0"},{"fixed":"41.0.2"}]}],"versions":["40.0.0","40.0.1","40.0.2","41.0.0","41.0.1"]},{"source":"osv","ecosystem":"PyPI","package":"cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"40.0.0"},{"fixed":"41.0.2"}]}],"versions":["40.0.0","40.0.1","40.0.2","41.0.0","41.0.1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"python-cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"41.0.2-2.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"python-cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"50.0.0-1.1"}]}],"bundled":6}],"products":[{"vendor":"cryptography.io","product":"cryptography"}],"references":[{"url":"https://github.com/pyca/cryptography/issues/9207","tags":["x_transferred","Exploit","Issue Tracking","Patch","Vendor Advisory","report","web"]},{"url":"https://github.com/pyca/cryptography/pull/9208","tags":["x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://pypi.org/project/cryptography/#history","tags":["x_transferred","Release Notes","package","web"]},{"url":"https://github.com/pyca/cryptography/compare/41.0.1...41.0.2","tags":["x_transferred","Patch","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230824-0010/","tags":["x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38325","tags":["advisory"]},{"url":"https://github.com/pyca/cryptography/commit/1ca7adc97b76a9dfbd3d850628b613eb93b78fc3","tags":["web"]},{"url":"https://github.com/pyca/cryptography/pull/7960","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-112.yaml","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20230824-0010","tags":["web"]},{"url":"https://github.com/advisories/GHSA-cf7p-gm2m-833m","tags":["advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-38325","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2023-38325","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38325.json","tags":["advisory"]},{"url":"https://github.com/pyca/cryptography","tags":["package"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2023-38325","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-25659","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-36242","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-49083","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-26130","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-69247","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2023-38325","description":"The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.","status":"published","published":"2023-07-14T00:00:00Z","modified":"2024-10-30T16:00:29.757Z","updated_at":"2026-11-02T14:35:29.772612Z"}],"euvd":[{"id":"EUVD-2023-0059","description":"The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.","status":"published","published":"2023-07-14T00:00:00Z","modified":"2024-10-30T16:00:29Z","updated_at":"2026-11-03T00:05:14.330068Z"}],"ghsa":[{"id":"GHSA-cf7p-gm2m-833m","title":"cryptography mishandles SSH certificates","description":"The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.","status":"published","published":"2023-07-14T21:31:08Z","modified":"2024-09-13T20:06:13Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:38:02.773864Z"}],"nvd":[{"id":"CVE-2023-38325","description":"The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.","status":"published","published":"2023-07-14T20:15:09.157Z","modified":"2026-06-17T06:09:55.03Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:08:17.044696Z"}],"osv":[{"id":"ALPINE-CVE-2023-38325","description":"The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.","status":"published","published":"2023-07-14T20:15:09.157Z","modified":"2026-11-03T06:32:01.37384569Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T07:18:15.355745Z"},{"id":"BELL-CVE-2023-38325","title":"CVE-2023-38325 does not affect BellSoft software","status":"withdrawn","published":"2023-07-14T20:15:00Z","modified":"2026-01-26T09:47:03.041231Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:28:17.742221Z"},{"id":"GHSA-cf7p-gm2m-833m","title":"cryptography mishandles SSH certificates","description":"The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.","status":"published","published":"2023-07-14T21:31:08Z","modified":"2026-09-10T03:49:57.356196452Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"},{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:46:44.927642Z"},{"id":"CVE-2023-38325","description":"The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.","status":"published","published":"2023-07-14T00:00:00Z","modified":"2026-10-28T02:30:50.551329957Z","updated_at":"2026-11-02T15:44:32.922049Z"},{"id":"openSUSE-SU-2024:13078-1","title":"python310-cryptography-41.0.2-2.1 on GA media","description":"These are all security issues fixed in the python310-cryptography-41.0.2-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:22:30.744775Z","updated_at":"2026-11-02T16:58:36.025801Z"},{"id":"openSUSE-SU-2026:11468-1","title":"python313-cryptography-50.0.0-1.1 on GA media","description":"These are all security issues fixed in the python313-cryptography-50.0.0-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-08-06T00:00:00Z","modified":"2026-08-07T10:00:12.072667534Z","updated_at":"2026-11-02T16:58:39.516824Z"},{"id":"PYSEC-2023-112","description":"The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.","status":"published","published":"2023-07-14T20:15:00Z","modified":"2026-06-10T17:00:55.200316706Z","updated_at":"2026-11-02T15:52:53.837392Z"}]}}
