Skip to content

CVE-2023-1255 Input buffer over-read in AES-XTS implementation on 64 bit ARM

MediumCVSS 5.9 EPSS 0.95%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
OpenSSLUbuntuDebian

Description

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.

Upgrade path

17 packages: 17 fixed.

PackageAffectedFixed inStatus
alpine/openssl(Alpine v3.17) >= 3.0.0, < 3.0.8-r4 3.0.8-r4 Fixed
alpine/openssl(Alpine v3.18) >= 3.1.0, < 3.1.0-r4 3.1.0-r4 Fixed
alpine/openssl(Alpine v3.19) >= 3.1.0, < 3.1.0-r4 3.1.0-r4 Fixed
alpine/openssl(Alpine v3.20) >= 3.1.0, < 3.1.0-r4 3.1.0-r4 Fixed
alpine/openssl(Alpine v3.21) >= 3.1.0, < 3.1.0-r4 3.1.0-r4 Fixed
alpine/openssl(Alpine v3.22) >= 3.1.0, < 3.1.0-r4 3.1.0-r4 Fixed
alpine/openssl(Alpine v3.23) >= 3.1.0, < 3.1.0-r4 3.1.0-r4 Fixed
alpine/openssl(Alpine v3.24) >= 3.1.0, < 3.1.0-r4 3.1.0-r4 Fixed
alpine/openssl3(Alpine v3.15) < 3.0.8-r3 3.0.8-r3 Fixed
alpine/openssl3(Alpine v3.16) < 3.0.8-r3 3.0.8-r3 Fixed
debian/openssl(Debian 12) < 3.0.9-1 3.0.9-1 Fixed
debian/openssl(Debian 13) < 3.0.9-1 3.0.9-1 Fixed
debian/openssl(Debian 14) < 3.0.9-1 3.0.9-1 Fixed
OpenSSL >= 3.0.0, < 3.0.9; >= 3.1.0, < 3.1.1 3.0.9, 3.1.1 Fixed
ubuntu/openssl(Ubuntu 22.04) < 3.0.2-0ubuntu1.10; = 1.1.1l-1ubuntu1; = 3.0.0-1ubuntu1; = 3.0.1-0ubuntu1 +9 more 3.0.2-0ubuntu1.10 Fixed
ubuntu/openssl(Ubuntu Pro FIPS-preview 22.04) < 3.0.2-0ubuntu1.10+Fips1 3.0.2-0ubuntu1.10+Fips1 Fixed
ubuntu/openssl(Ubuntu Pro FIPS-updates 22.04) < 3.0.2-0ubuntu1.10+Fips1 3.0.2-0ubuntu1.10+Fips1 Fixed

Affected products

ProductAffected versionsFixed in
debian/openssl(Debian:12) < 3.0.9-1 3.0.9-1
debian/openssl(Debian:13) < 3.0.9-1 3.0.9-1
debian/openssl(Debian:14) < 3.0.9-1 3.0.9-1
OpenSSL >= 3.1.0, < 3.1.1 3.1.1
OpenSSL >= 3.0.0, < 3.0.9 3.0.9
alpine/openssl(Alpine:v3.17) >= 3.0.0, < 3.0.8-r4 3.0.8-r4
alpine/openssl(Alpine:v3.18) >= 3.1.0, < 3.1.0-r4 3.1.0-r4
alpine/openssl(Alpine:v3.19) >= 3.1.0, < 3.1.0-r4 3.1.0-r4
alpine/openssl(Alpine:v3.20) >= 3.1.0, < 3.1.0-r4 3.1.0-r4
alpine/openssl(Alpine:v3.21) >= 3.1.0, < 3.1.0-r4 3.1.0-r4
alpine/openssl(Alpine:v3.22) >= 3.1.0, < 3.1.0-r4 3.1.0-r4
alpine/openssl(Alpine:v3.23) >= 3.1.0, < 3.1.0-r4 3.1.0-r4
alpine/openssl(Alpine:v3.24) >= 3.1.0, < 3.1.0-r4 3.1.0-r4
alpine/openssl3(Alpine:v3.15) < 3.0.8-r3 3.0.8-r3
alpine/openssl3(Alpine:v3.16) < 3.0.8-r3 3.0.8-r3
ubuntu/openssl(Ubuntu:22.04) < 3.0.2-0ubuntu1.10 3.0.2-0ubuntu1.10
ubuntu/openssl(Ubuntu:22.04) = 1.1.1l-1ubuntu1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.0-1ubuntu1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.1-0ubuntu1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.2 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.4 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.5 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.6 No fix listed
Show 5 more
ProductAffected versionsFixed in
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.7 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.8 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.9 No fix listed
ubuntu/openssl(Ubuntu:Pro:FIPS-preview:22.04) < 3.0.2-0ubuntu1.10+Fips1 3.0.2-0ubuntu1.10+Fips1
ubuntu/openssl(Ubuntu:Pro:FIPS-updates:22.04) < 3.0.2-0ubuntu1.10+Fips1 3.0.2-0ubuntu1.10+Fips1

References