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

Medium 5.3 Published Updated

A malicious CA can bypass certificate policy checks in OpenSSL if policy processing is explicitly enabled, allowing invalid certificates to be accepted.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-0465?

CVE-2023-0465 is a medium-severity vulnerability in Openssl Openssl, published on 28 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-295

Which versions are affected by CVE-2023-0465?

It affects 1 product.

Linux distribution packages (4)
compat-openssl098 SUSE:Linux Enterprise Module for Legacy 12All versions0.9.8j-106.48.1
openssl SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREAll versions0.9.8j-0.106.66.1
compat-openssl098 SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions0.9.8j-106.48.1
compat-openssl098 SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions0.9.8j-106.48.1

Products include Openssl Openssl.

How do I fix CVE-2023-0465?

Apply the vendor's patch.

Is CVE-2023-0465 being exploited?

There is no known exploitation of CVE-2023-0465 in the wild and no public exploit code.

All Openssl Openssl vulnerabilities

Sources

Also known as ALPINE-CVE-2023-0465, AZL-25937, AZL-27241, AZL-31145, AZL-34663, AZL-37716 and 7 more.

Is CVE-2023-0465 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free