{"cve":"CVE-2022-1343","nvd":{"published":"2022-05-03T16:15:18.873","modified":"2026-10-14T13:17:18.587","status":"Modified","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).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3},"cwes":["CWE-295"],"references":["https://cert-portal.siemens.com/productcert/pdf/ssa-953464.pdf","https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2eda98790c5c2741d76d23cc1e74b0dc4f4b391a","https://security.netapp.com/advisory/ntap-20220602-0009/","https://www.openssl.org/news/secadv/20220503.txt","https://cert-portal.siemens.com/productcert/pdf/ssa-953464.pdf"],"products":["netapp:a250_firmware","netapp:a700s_firmware","netapp:active_iq_unified_manager","netapp:aff_500f_firmware","netapp:aff_8300_firmware","netapp:aff_8700_firmware","netapp:aff_a400_firmware","netapp:clustered_data_ontap","netapp:clustered_data_ontap_antivirus_connector","netapp:fabric-attached_storage_a400_firmware","netapp:fas_500f_firmware","netapp:fas_8300_firmware","netapp:fas_8700_firmware","netapp:h300e_firmware","netapp:h300s_firmware","netapp:h410s_firmware","netapp:h500e_firmware","netapp:h500s_firmware","netapp:h700e_firmware","netapp:h700s_firmware","netapp:santricity_smi-s_provider","netapp:smi-s_provider","netapp:snapmanager","netapp:solidfire\\,_enterprise_sds_\\&_hci_storage_node","netapp:solidfire_\\&_hci_management_node","openssl:openssl"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-1343","score":0.02141,"percentile":0.8192,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-mfm6-r9g2-q4r7","url":"https://osv.dev/vulnerability/GHSA-mfm6-r9g2-q4r7","summary":"`OCSP_basic_verify` may incorrectly verify the response signing certificate","modified":"2026-09-10T03:49:34.719762234Z","packages":[{"ecosystem":"crates.io","name":"openssl-src","purl":"pkg:cargo/openssl-src","ranges":[">=300.0.0 <300.0.6"],"fixed":["300.0.6"]}]},{"id":"RUSTSEC-2022-0027","url":"https://osv.dev/vulnerability/RUSTSEC-2022-0027","summary":"`OCSP_basic_verify` may incorrectly verify the response signing certificate","modified":"2023-11-08T04:07:47.512143Z","packages":[{"ecosystem":"crates.io","name":"openssl-src","purl":"pkg:cargo/openssl-src","ranges":[">=300.0.0 <300.0.6"],"fixed":["300.0.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}