From ed65a9c52a861e838af60ae7e17eef7887e93e78 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Fri, 8 Sep 2023 15:35:22 +0200 Subject: [PATCH] Add CVE-2023-4807 fix to CHANGES and NEWS Reviewed-by: Matt Caswell Reviewed-by: Hugo Landau Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/22034) --- CHANGES | 22 +++++++++++++++++++++- NEWS | 3 ++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index b0b2f44e419..8c6f19356d8 100644 --- a/CHANGES +++ b/CHANGES @@ -9,7 +9,27 @@ Changes between 1.1.1v and 1.1.1w [xx XXX xxxx] - *) + *) Fix POLY1305 MAC implementation corrupting XMM registers on Windows. + + The POLY1305 MAC (message authentication code) implementation in OpenSSL + does not save the contents of non-volatile XMM registers on Windows 64 + platform when calculating the MAC of data larger than 64 bytes. Before + returning to the caller all the XMM registers are set to zero rather than + restoring their previous content. The vulnerable code is used only on newer + x86_64 processors supporting the AVX512-IFMA instructions. + + The consequences of this kind of internal application state corruption can + be various - from no consequences, if the calling application does not + depend on the contents of non-volatile XMM registers at all, to the worst + consequences, where the attacker could get complete control of the + application process. However given the contents of the registers are just + zeroized so the attacker cannot put arbitrary values inside, the most likely + consequence, if any, would be an incorrect result of some application + dependent calculations or a crash leading to a denial of service. + + (CVE-2023-4807) + [Bernd Edlinger] + Changes between 1.1.1u and 1.1.1v [1 Aug 2023] diff --git a/NEWS b/NEWS index 2cbee282836..12ecbf1def2 100644 --- a/NEWS +++ b/NEWS @@ -7,7 +7,8 @@ Major changes between OpenSSL 1.1.1v and OpenSSL 1.1.1w [under development] - o + o Fix POLY1305 MAC implementation corrupting XMM registers on Windows + (CVE-2023-4807) Major changes between OpenSSL 1.1.1u and OpenSSL 1.1.1v [1 Aug 2023] -- 2.47.2