Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-2975 EUVD-2023-34417GHSA-hpqg-7fjp-436p

AES-SIV implementation ignores empty associated data entries

Published Jul 14, 2023 · Updated Apr 23, 2025 · Assigned by openssl

Description

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

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 3.1.0 – < 3.1.2, 3.0.0 – < 3.0.10 3.1.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl 3.0.10-1 —
Debian 13 openssl 3.0.10-1 —
Debian 12 openssl 3.0.10-1~deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS openssl 3.0.2-0ubuntu1.12 USN-6450-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS-updates 22.04 LTS openssl 3.0.2-0ubuntu1.12+Fips1 —
Ubuntu Pro FIPS-preview 22.04 LTS openssl 3.0.2-0ubuntu1.12+Fips1 —
Ubuntu Pro 22.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 openssl +3 1:3.0.7-27.el9 RHSA-2024:2447

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 openssl +3 1:3.0.7-27.el9 ALSA-2024:2447
ReleasePackageFixed inAdvisory
SLES 15 SP5 openssl-3 3.0.8-150500.5.8.1 SUSE-SU-2023:3011-1
SLES 15 SP4 openssl-3 3.0.8-150400.4.31.2 SUSE-SU-2023:3013-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssl-3 3.1.1-3.1 openSUSE-SU-2024:13065-1
openSUSE Leap 15.5 openssl-3 3.0.8-150500.5.8.1 SUSE-SU-2023:3011-1
openSUSE Leap 15.4 openssl-3 3.0.8-150400.4.31.2 SUSE-SU-2023:3013-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssl 3.1.1-r2 —
Alpine v3.23 openssl 3.1.1-r2 —
Alpine v3.22 openssl 3.1.1-r2 —
Alpine v3.21 openssl 3.1.1-r2 —
Alpine v3.20 openssl 3.1.1-r2 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openssl 3.1.1-r2 —
Alpine v3.18 openssl 3.1.1-r2 —
Alpine v3.17 openssl 3.0.9-r2 —
Alpine v3.16 openssl3 3.0.9-r1 —
Alpine v3.15 openssl3 3.0.9-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssl +3 1:3.0.8-1.amzn2023.0.4 ALAS2023-2023-306

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) hvloader 1.0.1-6 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 openssl +3 1:3.0.7-27.0.3.el9 ELSA-2024-2447
Oracle Linux 9 openssl-fips-provider 3.0.7-2.0.1.el9 ELSA-2024-2447

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openssl 3.1.1-r2 —

Advisories 22

References