Invalid certificate policies in leaf certificates are silently ignored
Summary
| CVE | CVE-2023-0465 |
|---|---|
| State | PUBLISHED |
| Assigner | openssl |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-03-28 15:15:06 UTC |
| Updated | 2026-10-14 20:17:23 UTC |
| Description | Applications that use a non-default option when verifying certificates may be vulnerable to an attack from a malicious CA to circumvent certain checks. Invalid certificate policies in leaf certificates are silently ignored by OpenSSL and other certificate policy checks are skipped for that certificate. A malicious CA could use this to deliberately assert invalid certificate policies in order to circumvent policy checking on the certificate altogether. Policy processing is disabled by default but can be enabled by passing the `-policy' argument to the command line utilities or by calling the `X509_VERIFY_PARAM_set1_policies()' function. |
Risk And Classification
Primary CVSS: v3.1 5.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Problem Types: CWE-295 | improper certificate validation | CWE-295 CWE-295 Improper Certificate Validation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | ADP | DECLARED | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | OpenSSL | OpenSSL | affected 3.1.0 3.1.1 semver | Not specified |
| CNA | OpenSSL | OpenSSL | affected 3.0.0 3.0.9 semver | Not specified |
| CNA | OpenSSL | OpenSSL | affected 1.1.1 1.1.1u custom | Not specified |
| CNA | OpenSSL | OpenSSL | affected 1.0.2 1.0.2zh custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected V1.1 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| Debian -- Security Information -- DSA-5417-1 openssl | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| git.openssl.org Git - openssl.git/commitdiff | af854a3a-2127-422b-91ae-364da2661108 | git.openssl.org | Mailing List, Patch |
| git.openssl.org Git - openssl.git/commitdiff | af854a3a-2127-422b-91ae-364da2661108 | git.openssl.org | Broken Link |
| www.openssl.org/news/secadv/20230328.txt | af854a3a-2127-422b-91ae-364da2661108 | www.openssl.org | Vendor Advisory |
| cert-portal.siemens.com/productcert/html/ssa-556635.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| [SECURITY] [DLA 3449-1] openssl security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| cert-portal.siemens.com/productcert/html/ssa-769027.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| cert-portal.siemens.com/productcert/html/ssa-625862.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| cert-portal.siemens.com/productcert/html/ssa-337522.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| OpenSSL: Multiple Vulnerabilities (GLSA 202402-08) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | |
| git.openssl.org Git - openssl.git/commitdiff | af854a3a-2127-422b-91ae-364da2661108 | git.openssl.org | Mailing List, Patch |
| cert-portal.siemens.com/productcert/html/ssa-341067.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| cert-portal.siemens.com/productcert/html/ssa-794697.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| March 2023 OpenSSL Vulnerabilities in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | |
| git.openssl.org Git - openssl.git/commitdiff | af854a3a-2127-422b-91ae-364da2661108 | git.openssl.org | Mailing List, Patch |
| cert-portal.siemens.com/productcert/html/ssa-879734.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: David Benjamin (Google) (en)
CNA: Matt Caswell (en)
Legacy QID Mappings
- 160752 Oracle Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL) (ELSA-2023-3722)
- 181818 Debian Security Update for Open Secure Sockets Layer (OpenSSL) (DSA 5417-1)
- 181834 Debian Security Update for Open Secure Sockets Layer (OpenSSL) (DLA 3449-1)
- 183838 Debian Security Update for Open Secure Sockets Layer (OpenSSL) (CVE-2023-0465)
- 241736 Red Hat Update for Open Secure Sockets Layer (OpenSSL) (RHSA-2023:3722)
- 242553 Red Hat Update for JBoss Core Services (RHSA-2023:7625)
- 330149 IBM Advanced Interactive eXecutive (AIX) Open Secure Sockets Layer (OpenSSL) Multiple Vulnerabilities (openssl_advisory39)
- 355097 Amazon Linux Security Advisory for openssl11 : ALAS2-2023-2039
- 355167 Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : ALAS2023-2023-181
- 355387 Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : ALAS2-2023-2073
- 355428 Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : ALAS-2023-1762
- 355523 Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : AL2012-2023-422
- 356233 Amazon Linux Security Advisory for openssl-snapsafe : ALASOPENSSL-SNAPSAFE-2023-002
- 356483 Amazon Linux Security Advisory for openssl-snapsafe : ALAS2OPENSSL-SNAPSAFE-2023-002
- 357333 Amazon Linux Security Advisory for edk2 : ALAS2-2024-2502
- 379141 SolarWinds Serv-U HTML Injection Vulnerability
- 38893 OpenSSL Invalid certificate policies
- 502694 Alpine Linux Security Update for Open Secure Sockets Layer (OpenSSL)
- 502695 Alpine Linux Security Update for Open Secure Sockets Layer (OpenSSL)
- 502696 Alpine Linux Security Update for Open Secure Sockets Layer3 (OpenSSL3)
- 502759 Alpine Linux Security Update for openssl
- 502909 Alpine Linux Security Update for openssl1.1-compat
- 503022 Alpine Linux Security Update for Open Secure Sockets Layer (OpenSSL)
- 503119 Alpine Linux Security Update for openssl
- 505786 Alpine Linux Security Update for openssl1.1-compat
- 505904 Alpine Linux Security Update for openssl
- 672941 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-1807)
- 672943 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-1825)
- 673062 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-2195)
- 673095 EulerOS Security Update for compat-openssl10 (EulerOS-SA-2023-2187)
- 673173 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-2317)
- 673178 EulerOS Security Update for shim (EulerOS-SA-2023-2324)
- 673200 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-2337)
- 673205 EulerOS Security Update for shim (EulerOS-SA-2023-2344)
- 673231 EulerOS Security Update for shim (EulerOS-SA-2023-2369)
- 673243 EulerOS Security Update for shim (EulerOS-SA-2023-2395)
- 673331 EulerOS Security Update for shim (EulerOS-SA-2023-2711)
- 673398 EulerOS Security Update for linux-sgx (EulerOS-SA-2023-3047)
- 673566 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-2702)
- 673605 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-2660)
- 673724 EulerOS Security Update for shim (EulerOS-SA-2024-1299)
- 674033 EulerOS Security Update for shim (EulerOS-SA-2023-2669)
- 691102 Free Berkeley Software Distribution (FreeBSD) Security Update for Open Secure Sockets Layer (OpenSSL) (425b9538-ce5f-11ed-ade3-d4c9ef517024)
- 691183 Free Berkeley Software Distribution (FreeBSD) Security Update for python (d86becfe-05a4-11ee-9d4a-080027eda32c)
- 710857 Gentoo Linux Open Secure Sockets Layer (OpenSSL) Multiple Vulnerabilities (GLSA 202402-08)
- 753896 SUSE Enterprise Linux Security Update for openssl-1_1 (SUSE-SU-2023:1790-1)
- 753898 SUSE Enterprise Linux Security Update for openssl-1_1 (SUSE-SU-2023:1794-1)
- 753923 SUSE Enterprise Linux Security Update for openssl-1_1 (SUSE-SU-2023:1908-1)
- 753924 SUSE Enterprise Linux Security Update for compat-openssl098 (SUSE-SU-2023:1912-1)
- 753927 SUSE Enterprise Linux Security Update for openssl-1_0_0 (SUSE-SU-2023:1922-1)
- 754004 SUSE Enterprise Linux Security Update for openssl-1_0_0 (SUSE-SU-2023:1914-1)
- 906787 Common Base Linux Mariner (CBL-Mariner) Security Update for Open Secure Sockets Layer (OpenSSL) (25951-1)
- 906849 Common Base Linux Mariner (CBL-Mariner) Security Update for Open Secure Sockets Layer (OpenSSL) (25937-1)
- 907019 Common Base Linux Mariner (CBL-Mariner) Security Update for kata-containers-cc (27241-1)
- 907543 Common Base Linux Mariner (CBL-Mariner) Security Update for edk2 (31145-1)
- 941150 AlmaLinux Security Update for Open Secure Sockets Layer (OpenSSL) (ALSA-2023:3722)