CVE-2023-2975
AES-SIV implementation ignores empty associated data entries
Reported by openssl · Published July 14, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openssl-perl | Amazon Linux | 1:3.0.8-1.amzn2023.0.4 |
| openssl | Amazon Linux | 1:3.0.8-1.amzn2023.0.4 |
| openssl3 | Alpine | 3.0.9-r1 |
| openssl | Alpine | 3.1.1-r2, 3.0.9-r2 |
| openssl | Chainguard | 3.1.1-r2 |
| openssl | conan.io | 3.1.1, 3.0.9 |
| openssl | Wolfi | 3.1.1-r2 |
| openssl-devel | Amazon Linux | 1:3.0.8-1.amzn2023.0.4 |
| openssl-libs | Amazon Linux | 1:3.0.8-1.amzn2023.0.4 |
| OpenSSL | OpenSSL | 3.1.2, 3.1.1, 3.0.10, 3.0.9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenSSL | OpenSSL | 3.1.0, 3.0.0 |
| amazon:2023 | openssl-perl | 0 |
| amazon:2023 | openssl | 0 |
| OpenSSL | OpenSSL | 3.0.0, 3.1.0 |
| alpine | openssl3 | 0 |
| alpine | openssl | 0, 0 |
| chainguard | openssl | 0 |
| ConanCenter | openssl | 3.1.0, 3.0.0 |
| wolfi | openssl | 0 |
| chainguard | openssl-provider-fips | * |
| amazon:2023 | openssl-devel | 0 |
| chainguard | openssl-provider-fips-3.1.2 | * |
| amazon:2023 | openssl-libs | 0 |
Timeline
- Jul 14, 2023 CVE Published
- Jul 15, 2023 EPSS Score (30 in total, the first dated here)
- Feb 17, 2026 Security Advisory (50 in total, the first dated here)
- Nov 21, 2026 Distribution Patch (46 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-2975
vulnetix vdb fixes CVE-2023-2975
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-2975/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- OpenSSL Advisory vendor-advisory
- 3.1.2 git commit patch
- 3.0.10 git commit patch
- https://nvd.nist.gov/vuln/detail/CVE-2023-2975 advisory
- http://www.openwall.com/lists/oss-security/2023/07/15/1 url
- http://www.openwall.com/lists/oss-security/2023/07/19/5 url
- https://security.netapp.com/advisory/ntap-20230725-0004/ url
- https://security.gentoo.org/glsa/202402-08 url