{"id":"CVE-2023-0465","summary":"Invalid certificate policies in leaf certificates are silently ignored","details":"Applications that use a non-default option when verifying certificates may be\nvulnerable to an attack from a malicious CA to circumvent certain checks.\n\nInvalid certificate policies in leaf certificates are silently ignored by\nOpenSSL and other certificate policy checks are skipped for that certificate.\nA malicious CA could use this to deliberately assert invalid certificate policies\nin order to circumvent policy checking on the certificate altogether.\n\nPolicy processing is disabled by default but can be enabled by passing\nthe `-policy' argument to the command line utilities or by calling the\n`X509_VERIFY_PARAM_set1_policies()' function.","modified":"2026-11-18T01:06:09.677609351Z","published":"2023-03-28T14:30:39.707Z","related":["ALSA-2023:3722","SUSE-SU-2023:1790-1","SUSE-SU-2023:1794-1","SUSE-SU-2023:1898-1","SUSE-SU-2023:1907-1","SUSE-SU-2023:1908-1","SUSE-SU-2023:1911-1","SUSE-SU-2023:1912-1","SUSE-SU-2023:1914-1","SUSE-SU-2023:1922-1","SUSE-SU-2023:1926-1","SUSE-SU-2023:1960-1","openSUSE-SU-2024:12837-1","openSUSE-SU-2024:12842-1","openSUSE-SU-2024:12969-1"],"database_specific":{"cna_assigner":"openssl","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0465.json","unresolved_ranges":[{"extracted_events":[{"range":[{"introduced":"3.1.0"},{"fixed":"3.1.1"},{"introduced":"3.0.0"},{"fixed":"3.0.9"},{"introduced":"1.1.1"},{"fixed":"1.1.1u"},{"introduced":"1.0.2"},{"fixed":"1.0.2zh"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}]},"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-337522.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-341067.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-556635.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-625862.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-769027.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-794697.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-879734.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00011.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0465.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0465"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202402-08"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230414-0001/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2023/dsa-5417"},{"type":"ADVISORY","url":"https://www.openssl.org/news/secadv/20230328.txt"},{"type":"FIX","url":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=10325176f3d3e98c6e2b3bf5ab1e3b334de6947a"},{"type":"FIX","url":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1dd43e0709fece299b15208f36cc7c76209ba0bb"},{"type":"FIX","url":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=b013765abfa80036dc779dd0e50602c57bb3bf95"},{"type":"FIX","url":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=facfb1ab745646e97a1920977ae4a9965ea61d5c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/alsyundawy/openssl-1.0.2","events":[{"introduced":"c46078156d49453ba69badc9addb1e2dcd1c71f5"},{"fixed":"c46078156d49453ba69badc9addb1e2dcd1c71f5"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.0.2"},{"fixed":"1.0.2zh"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-0465.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/kzalewski/openssl-1.1.1","events":[{"introduced":"5e834d3efb41f9a0fd01e2a1190b813097801fc8"},{"fixed":"5e834d3efb41f9a0fd01e2a1190b813097801fc8"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"1.1.1"},{"fixed":"1.1.1u"}],"source":"CPE_RANGE"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-0465.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/openssl/openssl","events":[{"introduced":"e818b74be2170fbe957a07b0da4401c2b694b3b8"},{"fixed":"e818b74be2170fbe957a07b0da4401c2b694b3b8"},{"introduced":"e04bd3433fd84e1861bf258ea37928d9845e6a86"},{"fixed":"e04bd3433fd84e1861bf258ea37928d9845e6a86"},{"introduced":"89cd17a031e022211684eb7eb41190cf1910f9fa"},{"fixed":"de90e54bbe82e5be4fb9608b6f5c308bb837d355"},{"introduced":"a92271e03a8d0dee507b6f1e7f49512568b2c7ad"},{"fixed":"2cf4e90eaaf7402bf038b158dbdacd0a15561fb7"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"1.0.2"},{"fixed":"1.0.2zh"}],"source":"CPE_RANGE"},{"range":[{"introduced":"1.1.1"},{"fixed":"1.1.1u"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"3.0.0"},{"fixed":"3.0.9"}],"source":"CPE_RANGE"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"3.1.0"},{"fixed":"3.1.1"}]}]}}],"versions":["openssl-3.1.0","openssl-3.0.8","openssl-3.0.7","openssl-3.0.6","openssl-3.0.5","openssl-3.0.4","openssl-3.0.3","openssl-3.0.2","openssl-3.0.1","openssl-3.0.0"],"database_specific":{"vanir_signatures":[{"target":{"file":"include/openssl/opensslv.h"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["28170854778703993674264004058177114599","73132526844288570625317440636111911761","177405411499435185068645597737938634778","224809958623850711330610094965797758930","295554444428855106393106961197201359586"]},"id":"CVE-2023-0465-c377fa22","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/e04bd3433fd84e1861bf258ea37928d9845e6a86"},{"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/e818b74be2170fbe957a07b0da4401c2b694b3b8","target":{"file":"crypto/opensslv.h"},"deprecated":false,"digest":{"line_hashes":["251633914150035957322733061977107206211","338514574181828579838011565939158652696","76638288692106140328510055542557597351","142922657400765574308962710386922248045","71649992455794854055653842592139575350","65527166711110472566013424527579064967","253196866009476977787139000804413898733","172177136897997206866313011107384691461"],"threshold":0.9},"id":"CVE-2023-0465-e051451f","signature_type":"Line"}],"vanir_signatures_modified":"2026-11-18T01:06:09Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-0465.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}