CVE-2023-1255: Input buffer over-read in AES-XTS implementation on 64 bit ARM
Issue summary: The AES-XTS cipher decryption implementation for 64 bit ARM platform contains a bug that could cause it to read past the input buffer, leading to a crash.
Impact summary: Applications that use the AES-XTS algorithm on the 64 bit ARM platform can crash in rare circumstances. The AES-XTS algorithm is usually used for disk encryption.
The AES-XTS cipher decryption implementation for 64 bit ARM platform will read past the end of the ciphertext buffer if the ciphertext size is 4 mod 5 in 16 byte blocks, e.g. 144 bytes or 1024 bytes. If the memory after the ciphertext buffer is unmapped, this will trigger a crash which results in a denial of service.
If an attacker can control the size and location of the ciphertext buffer being decrypted by an application using AES-XTS on 64 bit ARM, the application is affected. This is fairly unlikely making this issue a Low severity one.
Other sources
Issue summary: The AES-XTS cipher decryption implementation for 64 bit ARM platform contains a bug that could cause it to read past the input buffer, leading to a crash.
Impact summary: Applications that use the AES-XTS algorithm on the 64 bit ARM platform can crash in rare circumstances. The AES-XTS algorithm is usually used for disk encryption.
The AES-XTS cipher decryption implementation for 64 bit ARM platform will read past the end of the ciphertext buffer if the ciphertext size is 4 mod 5, e.g. 144 bytes or 1024 bytes. If the memory after the ciphertext buffer is unmapped, this will trigger a crash which results in a denial of service.
If an attacker can control the size and location of the ciphertext buffer being decrypted by an application using AES-XTS on 64 bit ARM, the application is affected. This is fairly unlikely making this issue a Low severity one.
https://www.openssl.org/news/secadv/20230419.txt https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=bc2f61ad70971869b242fc1cb445b98bad50074a https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=02ac9c9420275868472f33b01def01218742b8bb
— Red Hat
OpenSSL is vulnerable to a denial of service, caused by a flaw in the AES-XTS cipher decryption implementation for 64 bit ARM platform. By sending a specially crafted request, a remote attacker could exploit this vulnerability to cause the application to crash.
— IBM
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/opensslto a version that resolves this vulnerability.Fixed in 3.0.9-1Fixed in 3.1.1-1Fixed in 1.1.1n-0+deb11u5 - Upgrade
Upgrade
debian/opensslto a version that resolves this vulnerability.Fixed in 1.1.1w-0+deb11u1Fixed in 1.1.1n-0+deb11u5Fixed in 3.0.14-1~deb12u1Fixed in 3.0.14-1~deb12u2Fixed in 3.3.2-1 - Upgrade
Upgrade
redhat/OpenSSLto a version that resolves this vulnerability.Fixed in 3.1.1 - Upgrade
Upgrade
redhat/OpenSSLto a version that resolves this vulnerability.Fixed in 3.0.9
Event History
Frequently Asked Questions
What is CVE-2023-1255?
CVE-2023-1255 is a vulnerability in the AES-XTS cipher decryption implementation for the 64-bit ARM platform that can cause crashes due to reading past the input buffer.
Who is affected by CVE-2023-1255?
Applications using the AES-XTS algorithm on the 64-bit ARM platform may be affected.
What is the severity of CVE-2023-1255?
The severity of CVE-2023-1255 is high with a CVSS score of 5.9.
How can I fix CVE-2023-1255?
To fix CVE-2023-1255, update the affected OpenSSL package to the recommended versions: 3.0.2-0ubuntu1.10, 3.0.5-2ubuntu2.3, 3.0.8-1ubuntu1.2, 3.0.9-1, 3.1.1-1, or 1.1.1n-0+deb11u5.
Where can I find more information about CVE-2023-1255?
More information about CVE-2023-1255 can be found at the following links: [link1], [link2], [link3].