CVE-2023-0401
Published: 7 February 2023
A NULL pointer can be dereferenced when signatures are being verified on PKCS7 signed or signedAndEnveloped data. In case the hash algorithm used for the signature is known to the OpenSSL library but the implementation of the hash algorithm is not available the digest initialization will fail. There is a missing check for the return value from the initialization function which later leads to invalid usage of the digest API most likely leading to a crash. The unavailability of an algorithm can be caused by using FIPS enabled configuration of providers or more commonly by not loading the legacy provider. PKCS7 data is processed by the SMIME library calls and also by the time stamp (TS) library calls. The TLS implementation in OpenSSL does not call these functions however third party applications would be affected if they call these functions to verify signatures on untrusted data.
Notes
Author | Note |
---|---|
mdeslaur |
3.x only |
Priority
Status
Package | Release | Status |
---|---|---|
edk2
Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(code not present)
|
focal |
Not vulnerable
(code not present)
|
|
jammy |
Not vulnerable
(code not present)
|
|
kinetic |
Not vulnerable
(code not present)
|
|
lunar |
Not vulnerable
(code not present)
|
|
mantic |
Not vulnerable
(code not present)
|
|
trusty |
Ignored
(end of standard support)
|
|
upstream |
Needs triage
|
|
xenial |
Not vulnerable
(code not present)
|
|
nodejs
Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(uses system openssl1.0)
|
focal |
Not vulnerable
(uses system openssl)
|
|
jammy |
Released
(12.22.9~dfsg-1ubuntu3.3)
|
|
kinetic |
Not vulnerable
(uses system openssl)
|
|
lunar |
Not vulnerable
(uses system openssl)
|
|
mantic |
Not vulnerable
(uses system openssl)
|
|
trusty |
Not vulnerable
(uses system openssl)
|
|
upstream |
Needs triage
|
|
xenial |
Not vulnerable
(code not present)
|
|
openssl
Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(3.x only)
|
focal |
Not vulnerable
(3.x only)
|
|
jammy |
Released
(3.0.2-0ubuntu1.8)
|
|
kinetic |
Released
(3.0.5-2ubuntu2.1)
|
|
lunar |
Released
(3.0.8-1ubuntu1)
|
|
mantic |
Released
(3.0.8-1ubuntu1)
|
|
trusty |
Not vulnerable
(3.x only)
|
|
upstream |
Released
(3.0.8)
|
|
xenial |
Not vulnerable
(3.x only)
|
|
openssl1.0
Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(3.x only)
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
kinetic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |