CVE-2023-2975
openssl: AES-SIV cipher implementation contains a bug that causes it to ignore empty associated data entries
Overview
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness: CWE-354, CWE-287
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Conan (C/C++) | openssl | >=3.0.0 <=3.0.9||>=3.1.0 <=3.1.1 | 3.0.123.1.3 |
| Julia | OpenSSL_jll | >=3.0.8+0, <3.0.10+0 | 3.0.10+0 |
Open a package to see all its vulnerabilities.
Operating systems · 28 fixes
Oracle Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.7-27.0.3.el9 |
| 9 | openssl-fips-provider | 3.0.7-2.0.1.el9 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssl +4 | 3.0.9-2.ph4 |
| 5.0 | openssl +5 | 3.0.9-2.ph5 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 9 | openssl +3 | 1:3.0.7-27.el9 | RHSA-2024:2447 |
SUSE Linux Enterprise 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | libopenssl-3-devel +2 | 3.0.8-150400.4.31.2 | SUSE-SU-2023:3013-1 |
| 15.5 | libopenssl-3-devel +2 | 3.0.8-150500.5.8.1 | SUSE-SU-2023:3011-1 |
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.7-27.el9 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.1.1-r2 |
| 3.23 | openssl | 3.1.1-r2 |
| 3.24 | openssl | 3.1.1-r2 |
| edge | openssl | 3.1.1-r2 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +6 | 1:3.0.8-1.amzn2023.0.4 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-provider-fips +1 | not affected | |
| openssl | 3.1.1-r2 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | openssl | 3.0.10-1~deb12u1 |
| 13 | openssl | 3.0.10-1 |
| 14 | openssl | 3.0.10-1 |
echo 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.0.10-1~deb12u1 | |
| openssl-3-0-9 | 3.0.9+e1 | |
| openssl-3-1-0 | 3.1.0+e1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +6 | 3.1.1-3.1 | openSUSE-SU-2024:13065-1 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.1.1-r2 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-openssl | 3.0.10-1~deb12u1 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 |
ubuntu 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | nodejs | affected |
| 22.04 | openssl | 3.0.2-0ubuntu1.12 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.1.1-r2 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/07/15/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/07/19/5
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:2447
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-2975
- bugzilla.redhat.com https://bugzilla.redhat.com/2223016
- bugzilla.redhat.com https://bugzilla.redhat.com/2224962
- bugzilla.redhat.com https://bugzilla.redhat.com/2227852
- bugzilla.redhat.com https://bugzilla.redhat.com/2248616
- bugzilla.redhat.com https://bugzilla.redhat.com/2257571
- bugzilla.redhat.com https://bugzilla.redhat.com/2258502
Show all 24 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2259944
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-2447.html
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=00e2f5eea29994d19293ec4e8c8775ba73678598
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=6a83f0c958811f07e0d11dfc6b5a6a98edfd5bdc
- github.com https://github.com/advisories/GHSA-hpqg-7fjp-436p
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-2975.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-2447.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-2975
- security.gentoo.org https://security.gentoo.org/glsa/202402-08
- security.netapp.com https://security.netapp.com/advisory/ntap-20230725-0004
- security.netapp.com https://security.netapp.com/advisory/ntap-20230725-0004/
- ubuntu.com https://ubuntu.com/security/notices/USN-6450-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-2975
- www.openssl.org https://www.openssl.org/news/secadv/20230714.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.