CVE-2022-1343 OCSP_basic_verify may incorrectly verify the response signing certificate

Medium 5.3 Published Updated

Attackers can bypass OCSP certificate verification checks when the non-default OCSP_NOCHECKS flag is enabled, leading to acceptance of invalid signatures.

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

What is CVE-2022-1343?

CVE-2022-1343 is a medium-severity vulnerability in Netapp Active Iq Unified Manager, published on 3 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The function `OCSP_basic_verify` verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. It is anticipated that most users of `OCSP_basic_verify` will not use the OCSP_NOCHECKS flag. In this case the `OCSP_basic_verify` function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0. This issue also impacts the command line OpenSSL "ocsp" application. When verifying an ocsp response with the "-no_cert_checks" option the command line application will report that the verification is successful even though it has in fact failed. In this case the incorrect successful response will also be accompanied by error messages showing the failure and contradicting the apparently successful result. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).

Weakness: CWE-295

Which versions are affected by CVE-2022-1343?

3 open source packages ship an affected version, including openssl-src. It affects 26 products.

PackageAffectedFixed in
openssl-src crates.ioFrom 300.0.0300.0.6
openssl-src crates.ioFrom 300.0.0300.0.6
openssl-src crates.ioFrom 300.0.0300.0.6

Products include Netapp A250 Firmware, Netapp A700s Firmware, Netapp Active Iq Unified Manager, Netapp Aff 500f Firmware, Netapp Aff 8300 Firmware, Netapp Aff 8700 Firmware and 20 more.

How do I fix CVE-2022-1343?

Upgrade openssl-src to 300.0.6 or later.

Is CVE-2022-1343 being exploited?

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

All Netapp Active Iq Unified Manager vulnerabilities

Sources

Also known as ALPINE-CVE-2022-1343, CLEANSTART-2026-VF23025, GHSA-mfm6-r9g2-q4r7, RUSTSEC-2022-0027, UBUNTU-CVE-2022-1343.

Is CVE-2022-1343 in your software?

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

Check your SBOMs for free