Vulnerability · Published Mar 28, 2023 · Assigned by openssl

CVE-2023-0465Invalid certificate policies in leaf certificates are silently ignored

Medium 5.3

In plain English

A medium-severity improper certificate validation in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.8%top 21.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9openssl1:3.0.7-16.el9_2ALSA-2023:3722
AlmaLinux:9openssl-devel1:3.0.7-16.el9_2ALSA-2023:3722
AlmaLinux:9openssl-libs1:3.0.7-16.el9_2ALSA-2023:3722
AlmaLinux:9openssl-perl1:3.0.7-16.el9_2ALSA-2023:3722
Alpine:v3.20openssl3.1.0-r2ALPINE-CVE-2023-0465
Alpine:v3.21openssl3.1.0-r2ALPINE-CVE-2023-0465
Alpine:v3.22openssl3.1.0-r2ALPINE-CVE-2023-0465
Alpine:v3.23openssl3.1.0-r2ALPINE-CVE-2023-0465
Alpine:v3.24openssl3.1.0-r2ALPINE-CVE-2023-0465
Debian:12openssl3.0.9-1DEBIAN-CVE-2023-0465
Debian:13openssl3.0.9-1DEBIAN-CVE-2023-0465
Debian:14openssl3.0.9-1DEBIAN-CVE-2023-0465
Ubuntu:22.04:LTSedk22022.02-3ubuntu0.22.04.4USN-7894-1
Ubuntu:22.04:LTSedk22022.02-3ubuntu0.22.04.4UBUNTU-CVE-2023-0465
Ubuntu:24.04:LTSedk22024.02-2ubuntu0.6USN-7894-1
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.9UBUNTU-CVE-2023-0465

Affected products (as reported)

VendorProductVersions
OpenSSL OpenSSL 3.1.0 – before 3.1.13.0.0 – before 3.0.91.1.1 – before 1.1.1u1.0.2 – before 1.0.2zh

Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References