CVE-2022-1343CWE-295

CVE-2022-1343

Medium · published May 3, 2022

CVSS v3.1
5.3
EPSS
2%
Percentile
81.9
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.02141 · 81.9th percentile
Weakness
CWE-295 · Improper Certificate Validation
Published
2022-05-03T20:15Z
Affected products (26)
ProductVersionsFixed in
openssl/openssl≥ 3.0.0, < 3.0.33.0.3
netapp/active_iq_unified_managerall versions—
netapp/clustered_data_ontapall versions—
netapp/clustered_data_ontap_antivirus_connectorall versions—
netapp/santricity_smi-s_providerall versions—
netapp/smi-s_providerall versions—
netapp/snapmanagerall versions—
netapp/solidfire\,_enterprise_sds_\&_hci_storage_nodeall versions—
netapp/solidfire_\&_hci_management_nodeall versions—
netapp/a250_firmwareall versions—
netapp/a700s_firmwareall versions—
netapp/aff_500f_firmwareall versions—
netapp/aff_8300_firmwareall versions—
netapp/aff_8700_firmwareall versions—
netapp/aff_a400_firmwareall versions—
netapp/fabric-attached_storage_a400_firmwareall versions—
netapp/fas_500f_firmwareall versions—
netapp/fas_8300_firmwareall versions—
netapp/fas_8700_firmwareall versions—
netapp/h300e_firmwareall versions—
netapp/h300s_firmwareall versions—
netapp/h410s_firmwareall versions—
netapp/h500e_firmwareall versions—
netapp/h500s_firmwareall versions—
netapp/h700e_firmwareall versions—
netapp/h700s_firmwareall versions—
References (13)
EPSS history
Timeline
  • 03 MAY 15:15Z
    OCSP_basic_verify may incorrectly verify the response signing certificate
    cvelistv5