Bug 2164500 (CVE-2023-0401) - CVE-2023-0401 openssl: NULL dereference during PKCS7 data verification
Summary: CVE-2023-0401 openssl: NULL dereference during PKCS7 data verification
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2023-0401
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
: 2160756 2160837 (view as bug list)
Depends On: 2164578 2164579 2166352 2167849 2167853 2167860
Blocks: 2164384
TreeView+ depends on / blocked
 
Reported: 2023-01-25 15:51 UTC by Marian Rehak
Modified: 2024-03-18 13:31 UTC (History)
58 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer vulnerability was found in OpenSSL, which 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.
Clone Of:
Environment:
Last Closed: 2023-03-14 18:01:41 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2023:1461 0 None None None 2023-03-27 08:50:28 UTC
Red Hat Product Errata RHSA-2023:0946 0 None None None 2023-02-28 08:18:24 UTC
Red Hat Product Errata RHSA-2023:1199 0 None None None 2023-03-14 13:53:15 UTC

Description Marian Rehak 2023-01-25 15:51:48 UTC
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.

Comment 3 Alicja Kario 2023-02-01 14:23:24 UTC
*** Bug 2160756 has been marked as a duplicate of this bug. ***

Comment 4 Alicja Kario 2023-02-01 14:23:26 UTC
*** Bug 2160837 has been marked as a duplicate of this bug. ***

Comment 6 Zack Miele 2023-02-07 17:46:02 UTC
Created edk2 tracking bugs for this issue:

Affects: fedora-36 [bug 2167851]
Affects: fedora-37 [bug 2167859]


Created mingw-openssl tracking bugs for this issue:

Affects: fedora-36 [bug 2167852]
Affects: fedora-37 [bug 2167858]


Created openssl tracking bugs for this issue:

Affects: fedora-36 [bug 2167853]
Affects: fedora-37 [bug 2167860]


Created openssl1.1 tracking bugs for this issue:

Affects: fedora-36 [bug 2167854]
Affects: fedora-37 [bug 2167861]


Created openssl11 tracking bugs for this issue:

Affects: epel-7 [bug 2167850]


Created openssl3 tracking bugs for this issue:

Affects: epel-8 [bug 2167849]


Created shim tracking bugs for this issue:

Affects: fedora-36 [bug 2167855]
Affects: fedora-37 [bug 2167862]


Created shim-unsigned-aarch64 tracking bugs for this issue:

Affects: fedora-36 [bug 2167856]
Affects: fedora-37 [bug 2167863]


Created shim-unsigned-x64 tracking bugs for this issue:

Affects: fedora-36 [bug 2167857]
Affects: fedora-37 [bug 2167864]

Comment 8 errata-xmlrpc 2023-02-28 08:18:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:0946 https://access.redhat.com/errata/RHSA-2023:0946

Comment 9 errata-xmlrpc 2023-03-14 13:53:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2023:1199 https://access.redhat.com/errata/RHSA-2023:1199

Comment 10 Product Security DevOps Team 2023-03-14 18:01:36 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-0401


Note You need to log in before you can comment on or make changes to this bug.