Vulnerability · Published Jul 14, 2023 · Assigned by openssl
CVE-2023-2975AES-SIV implementation ignores empty associated data entries
Medium 5.3
In plain English
A medium-severity security flaw in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | openssl | 1:3.0.7-27.el9 | ALSA-2024:2447 |
| AlmaLinux:9 | openssl-devel | 1:3.0.7-27.el9 | ALSA-2024:2447 |
| AlmaLinux:9 | openssl-libs | 1:3.0.7-27.el9 | ALSA-2024:2447 |
| AlmaLinux:9 | openssl-perl | 1:3.0.7-27.el9 | ALSA-2024:2447 |
| Alpine:v3.20 | openssl | 3.1.1-r2 | ALPINE-CVE-2023-2975 |
| Alpine:v3.21 | openssl | 3.1.1-r2 | ALPINE-CVE-2023-2975 |
| Alpine:v3.22 | openssl | 3.1.1-r2 | ALPINE-CVE-2023-2975 |
| Alpine:v3.23 | openssl | 3.1.1-r2 | ALPINE-CVE-2023-2975 |
| Alpine:v3.24 | openssl | 3.1.1-r2 | ALPINE-CVE-2023-2975 |
| Debian:12 | openssl | 3.0.10-1~deb12u1 | DEBIAN-CVE-2023-2975 |
| Debian:13 | openssl | 3.0.10-1 | DEBIAN-CVE-2023-2975 |
| Debian:14 | openssl | 3.0.10-1 | DEBIAN-CVE-2023-2975 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.12 | USN-6450-1 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.12 | UBUNTU-CVE-2023-2975 |
Affected products (as reported)
Weakness: CWE-354 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- OpenSSL Advisory vendor-advisory
- 3.1.2 git commit patch
- 3.0.10 git commit patch
- http://www.openwall.com/lists/oss-security/2023/07/15/1 x_transferred
- http://www.openwall.com/lists/oss-security/2023/07/19/5 x_transferred
- https://security.netapp.com/advisory/ntap-20230725-0004/ x_transferred
- https://security.gentoo.org/glsa/202402-08 x_transferred