Bug 1213383 (CVE-2023-2975) - VUL-0: CVE-2023-2975: openssl-3: AES-SIV cipher implementation contains a bug that causes it to ignore empty associated data entries
Summary: VUL-0: CVE-2023-2975: openssl-3: AES-SIV cipher implementation contains a bug...
Status: RESOLVED FIXED
Alias: CVE-2023-2975
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/372553/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-2975:5.9:(AV:N...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-17 08:49 UTC by Robert Frohl
Modified: 2024-06-07 13:34 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Frohl 2023-07-17 08:49:27 UTC
CVE-2023-2975

Issue summary: The AES-SIV cipher implementation contains a bug that causes
it to ignore empty associated data entries which are unauthenticated as
a consequence.

Impact summary: Applications that use the AES-SIV algorithm and want to
authenticate empty data entries as associated data can be mislead by removing
adding or reordering such empty entries as these are ignored by the OpenSSL
implementation. We are currently unaware of any such applications.

The AES-SIV algorithm allows for authentication of multiple associated
data entries along with the encryption. To authenticate empty data the
application has to call EVP_EncryptUpdate() (or EVP_CipherUpdate()) with
NULL pointer as the output buffer and 0 as the input buffer length.
The AES-SIV implementation in OpenSSL just returns success for such a call
instead of performing the associated data authentication operation.
The empty data thus will not be authenticated.

As this issue does not affect non-empty associated data authentication and
we expect it to be rare for an application to use empty associated data
entries this is qualified as Low severity issue.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-2975
https://bugzilla.redhat.com/show_bug.cgi?id=2223016
https://www.cve.org/CVERecord?id=CVE-2023-2975
http://www.openwall.com/lists/oss-security/2023/07/15/1
https://seclists.org/oss-sec/2023/q3/39
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=00e2f5eea29994d19293ec4e8c8775ba73678598
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=6a83f0c958811f07e0d11dfc6b5a6a98edfd5bdc
https://www.openssl.org/news/secadv/20230714.txt
Comment 4 Pedro Monreal Gonzalez 2023-07-18 09:09:26 UTC
Summary of submissions:

> Codestream                      Package      Request
> -------------------------------------------------------
> SLE-15-SP4:Update               openssl-3    sr#303278
> SLE-15-SP5:Update               openssl-3    sr#303280
> SUSE:ALP:Source:Standard:1.0    openssl-3    sr#303281
> Factory                         openssl-3    sr#1099215
Comment 5 Pedro Monreal Gonzalez 2023-07-18 09:15:07 UTC
Related submissions:
  * openssl:     https://build.suse.de/request/show/303282
  * openssl-1_1: https://build.suse.de/request/show/303283
Comment 6 Pedro Monreal Gonzalez 2023-07-18 09:35:35 UTC
Fix also submitted to Factory as no new version will be released for now, from the advisory in https://www.openssl.org/news/secadv/20230714.txt:

> Due to the low severity of this issue we are not issuing new releases of
> OpenSSL at this time. The fix will be included in the next releases when they
> become available...
Comment 11 Maintenance Automation 2023-07-28 16:30:01 UTC
SUSE-SU-2023:3013-1: An update that solves two vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1213383, 1213487
CVE References: CVE-2023-2975, CVE-2023-3446
Sources used:
openSUSE Leap 15.4 (src): openssl-3-3.0.8-150400.4.31.2
Basesystem Module 15-SP4 (src): openssl-3-3.0.8-150400.4.31.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 12 Maintenance Automation 2023-07-28 16:30:05 UTC
SUSE-SU-2023:3011-1: An update that solves two vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1213383, 1213487
CVE References: CVE-2023-2975, CVE-2023-3446
Sources used:
openSUSE Leap 15.5 (src): openssl-3-3.0.8-150500.5.8.1
Basesystem Module 15-SP5 (src): openssl-3-3.0.8-150500.5.8.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 21 Gabriele Sonnu 2024-06-07 13:34:12 UTC
All done, closing.