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

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.16%, higher than 82% of CVEs (2026-12-01)
- Published: 2022-05-03T12:00:00.000Z
- Modified: 2026-10-14T13:17:18.587Z
- Also known as: GHSA-mfm6-r9g2-q4r7, RUSTSEC-2022-0027
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openssl

## 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).

(As written by CVE List.)

## Affected

- OpenSSL OpenSSL: Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2); from 3.0.0 before 3.0.3
- openssl-src (crates.io): from 300.0.0 before 300.0.6
- netapp active_iq_unified_manager: no versions given
- netapp clustered_data_ontap: no versions given
- netapp clustered_data_ontap_antivirus_connector: no versions given
- netapp santricity_smi-s_provider: no versions given
- netapp smi-s_provider: no versions given
- netapp snapmanager: no versions given
- netapp solidfire,_enterprise_sds_&_hci_storage_node: no versions given
- netapp solidfire_&_hci_management_node: no versions given
- netapp a250_firmware: no versions given
- netapp a700s_firmware: no versions given
- netapp aff_500f_firmware: no versions given
- netapp aff_8300_firmware: no versions given
- netapp aff_8700_firmware: no versions given
- netapp aff_a400_firmware: no versions given
- netapp fabric-attached_storage_a400_firmware: no versions given
- netapp fas_500f_firmware: no versions given
- netapp fas_8300_firmware: no versions given
- netapp fas_8700_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h700s_firmware: no versions given

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- RustSec Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://www.openssl.org/news/secadv/20220503.txt> (vendor-advisory, web)
- <https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2eda98790c5c2741d76d23cc1e74b0dc4f4b391a>
- <https://security.netapp.com/advisory/ntap-20220602-0009/> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-953464.pdf> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-953464.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-419740.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-794697.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-942865.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1343> (advisory)
- <https://github.com/github/advisory-database/issues/405> (web)
- <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2eda98790c5c2741d76d23cc1e74b0dc4f4b391a> (web)
- <https://rustsec.org/advisories/RUSTSEC-2022-0027.html> (advisory, web)
- <https://security.netapp.com/advisory/ntap-20220602-0009> (web)
- <https://crates.io/crates/openssl-src> (package)

## Sources

- CVE List: [CVE-2022-1343](https://www.cve.org/CVERecord?id=CVE-2022-1343), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-mfm6-r9g2-q4r7](https://github.com/advisories/GHSA-mfm6-r9g2-q4r7), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2022-0027](https://rustsec.org/advisories/RUSTSEC-2022-0027.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2022-1343](https://nvd.nist.gov/vuln/detail/CVE-2022-1343), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2022-1343 · Whole record: https://cve.day/CVE-2022-1343.json · Rebuilt by cve.day 2026-11-25T22:58:11.368Z
