{"id":"CVE-2022-1343","aliases":["CVE-2022-1343","GHSA-mfm6-r9g2-q4r7","RUSTSEC-2022-0027"],"related":[],"kind":"vulnerability","state":"published","title":"OCSP_basic_verify may incorrectly verify the response signing certificate","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"en","text":"The function `OCSP_basic_verify` verifies the signer certificate on an OCSP\nresponse. In the case where the (non-default) flag OCSP_NOCHECKS is used then\nthe response will be positive (meaning a successful verification) even in the\ncase where the response signing certificate fails to verify.\n\nIt is anticipated that most users of `OCSP_basic_verify` will not use the\nOCSP_NOCHECKS flag. In this case the `OCSP_basic_verify` function will return\na negative value (indicating a fatal error) in the case of a certificate\nverification failure. The normal expected return value in this case would be 0.","format":"markdown","source":"rustsec"},{"lang":"es","text":"La función \"OCSP_basic_verify\" verifica el certificado del firmante en una respuesta OCSP. En el caso de que sea usado el flag (no predeterminada) OCSP_NOCHECKS, la respuesta será positiva (lo que significa una verificación exitosa) incluso en el caso de que el certificado firmante de la respuesta no sea verificada. Es previsto que la mayoría de los usuarios de \"OCSP_basic_verify\" no usarán el indicador OCSP_NOCHECKS. En este caso, la función \"OCSP_basic_verify\" devolverá un valor negativo (indicando un error fatal) en caso de que falle la verificación del certificado. El valor de retorno normal esperado en este caso sería 0. Este problema también afecta a la aplicación de línea de comandos OpenSSL \"ocsp\". Cuando es verificada una respuesta ocsp con la opción \"-no_cert_checks\", la aplicación de línea de comandos informará de que la verificación se ha realizado con éxito aunque en realidad haya fallado. En este caso, la respuesta correcta incorrecta también irá acompañada de mensajes de error que muestran el fallo y contradicen el resultado aparentemente con éxito. Corregido en OpenSSL versión 3.0.3 (Afectado 3.0.0,3.0.1,3.0.2)","source":"nvd"}],"published":"2022-05-03T12:00:00.000Z","modified":"2026-10-14T13:17:18.587Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"version":"Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2)","status":"affected"}],"vendor":"OpenSSL","product":"OpenSSL","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"300.0.0","status":"affected","fixed":"300.0.6"}],"ecosystem":"crates.io","package":"openssl-src","purl":"pkg:cargo/openssl-src","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"300.0.0","status":"affected","fixed":"300.0.6"}],"ecosystem":"crates.io","package":"openssl-src","purl":"pkg:cargo/openssl-src","source":"rustsec"},{"ranges":[{"status":"affected","introduced":"3.0.0","fixed":"3.0.3"}],"vendor":"openssl","product":"openssl","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"active_iq_unified_manager","cpe":"cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vsphere:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"clustered_data_ontap","cpe":"cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"clustered_data_ontap_antivirus_connector","cpe":"cpe:2.3:a:netapp:clustered_data_ontap_antivirus_connector:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"santricity_smi-s_provider","cpe":"cpe:2.3:a:netapp:santricity_smi-s_provider:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"smi-s_provider","cpe":"cpe:2.3:a:netapp:smi-s_provider:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"snapmanager","cpe":"cpe:2.3:a:netapp:snapmanager:-:*:*:*:*:hyper-v:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"solidfire,_enterprise_sds_&_hci_storage_node","cpe":"cpe:2.3:a:netapp:solidfire\\,_enterprise_sds_\\&_hci_storage_node:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"solidfire_&_hci_management_node","cpe":"cpe:2.3:a:netapp:solidfire_\\&_hci_management_node:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"a250_firmware","cpe":"cpe:2.3:o:netapp:a250_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"a700s_firmware","cpe":"cpe:2.3:o:netapp:a700s_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"aff_500f_firmware","cpe":"cpe:2.3:o:netapp:aff_500f_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"aff_8300_firmware","cpe":"cpe:2.3:o:netapp:aff_8300_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"aff_8700_firmware","cpe":"cpe:2.3:o:netapp:aff_8700_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"aff_a400_firmware","cpe":"cpe:2.3:o:netapp:aff_a400_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"fabric-attached_storage_a400_firmware","cpe":"cpe:2.3:o:netapp:fabric-attached_storage_a400_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"fas_500f_firmware","cpe":"cpe:2.3:o:netapp:fas_500f_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"fas_8300_firmware","cpe":"cpe:2.3:o:netapp:fas_8300_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"fas_8700_firmware","cpe":"cpe:2.3:o:netapp:fas_8700_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h300e_firmware","cpe":"cpe:2.3:o:netapp:h300e_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h300s_firmware","cpe":"cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h410s_firmware","cpe":"cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h500e_firmware","cpe":"cpe:2.3:o:netapp:h500e_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h500s_firmware","cpe":"cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h700e_firmware","cpe":"cpe:2.3:o:netapp:h700e_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h700s_firmware","cpe":"cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.openssl.org/news/secadv/20220503.txt","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2eda98790c5c2741d76d23cc1e74b0dc4f4b391a","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20220602-0009/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-953464.pdf","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-953464.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-419740.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-794697.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-942865.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1343","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/github/advisory-database/issues/405","tags":["web"],"sources":["ghsa"]},{"url":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2eda98790c5c2741d76d23cc1e74b0dc4f4b391a","tags":["web"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0027.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://security.netapp.com/advisory/ntap-20220602-0009","tags":["web"],"sources":["ghsa"]},{"url":"https://crates.io/crates/openssl-src","tags":["package"],"sources":["rustsec"]}],"credits":["Raul Metsma"],"assigner":"openssl","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-23T13:27:12.804Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-1343","url":"https://www.cve.org/CVERecord?id=CVE-2022-1343","licence":"CVE Terms of Use","modified":"2026-10-14T12:43:58.077Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mfm6-r9g2-q4r7","url":"https://github.com/advisories/GHSA-mfm6-r9g2-q4r7","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:34.719Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2022-0027","url":"https://rustsec.org/advisories/RUSTSEC-2022-0027.html","licence":"CC0-1.0","modified":"2023-11-08T04:07:47.512Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-1343","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1343","licence":"Public domain","modified":"2026-10-14T13:17:18.587Z"}],"updatedAt":"2026-11-25T22:58:11.368Z","epss":{"score":0.02158,"percentile":0.82711,"date":"2026-12-01T12:00:22.000Z"}}