CVE-2023-0401
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
08/02/2023
Last modified:
04/11/2025
Description
A NULL pointer can be dereferenced when signatures are being<br />
verified on PKCS7 signed or signedAndEnveloped data. In case the hash<br />
algorithm used for the signature is known to the OpenSSL library but<br />
the implementation of the hash algorithm is not available the digest<br />
initialization will fail. There is a missing check for the return<br />
value from the initialization function which later leads to invalid<br />
usage of the digest API most likely leading to a crash.<br />
<br />
The unavailability of an algorithm can be caused by using FIPS<br />
enabled configuration of providers or more commonly by not loading<br />
the legacy provider.<br />
<br />
PKCS7 data is processed by the SMIME library calls and also by the<br />
time stamp (TS) library calls. The TLS implementation in OpenSSL does<br />
not call these functions however third party applications would be<br />
affected if they call these functions to verify signatures on untrusted<br />
data.
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* | 3.0.0 (including) | 3.0.7 (including) |
| cpe:2.3:a:stormshield:stormshield_management_center:*:*:*:*:*:*:*:* | 3.3.3 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba%3Dcommitdiff%3Bh%3Dd3b6dfd70db844c4499bec6ad6601623a565e674
- https://security.gentoo.org/glsa/202402-08
- https://www.openssl.org/news/secadv/20230207.txt
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba%3Dcommitdiff%3Bh%3Dd3b6dfd70db844c4499bec6ad6601623a565e674
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003
- https://security.gentoo.org/glsa/202402-08
- https://www.openssl.org/news/secadv/20230207.txt



