Skip to content

CVE-2023-52169 The NtfsHandler.cpp NTFS handler in 7-Zip before 24.01 (for 7zz) contains an out-of-bounds read that allows an attacker to read beyond the intended buffer. The bytes read beyond the intended buffer ar...

HighCVSS 8.2 EPSS 0.98%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

The NtfsHandler.cpp NTFS handler in 7-Zip before 24.01 (for 7zz) contains an out-of-bounds read that allows an attacker to read beyond the intended buffer. The bytes read beyond the intended buffer are presented as a part of a filename listed in the file system image. This has security relevance in some known web-service use cases where untrusted users can upload files and have them extracted by a server-side 7-Zip process.

Upgrade path

10 packages: 10 fixed.

PackageAffectedFixed inStatus
7-Zip < 24.01 24.01 Fixed
debian/7zip(Debian 12) < 22.01+dfsg-8+deb12u1; = 22.01+dfsg-8 22.01+dfsg-8+deb12u1 Fixed
debian/7zip(Debian 13) < 24.05+dfsg-1 24.05+dfsg-1 Fixed
debian/7zip(Debian 14) < 24.05+dfsg-1 24.05+dfsg-1 Fixed
debian/p7zip(Debian 12) < 16.02+really25.01+dfsg-0+deb12u1; = 16.02+dfsg-8 16.02+really25.01+dfsg-0+deb12u1 Fixed
debian/p7zip(Debian 13) < 16.02+transitional.1 16.02+transitional.1 Fixed
ubuntu/7zip(Ubuntu 22.04) < 21.07+dfsg-4ubuntu0.1~esm1 21.07+dfsg-4ubuntu0.1~esm1 Fixed
ubuntu/7zip(Ubuntu 24.04) < 23.01+dfsg-11ubuntu0.1~esm1 23.01+dfsg-11ubuntu0.1~esm1 Fixed
ubuntu/7zip(Ubuntu Pro 22.04) < 21.07+dfsg-4ubuntu0.1~esm1; = 21.03~beta+dfsg-6; = 21.04~beta+dfsg-1; = 21.06+dfsg-1 +4 more 21.07+dfsg-4ubuntu0.1~esm1 Fixed
ubuntu/7zip(Ubuntu Pro 24.04) < 23.01+dfsg-11ubuntu0.1~esm1; = 23.01+dfsg-3; = 23.01+dfsg-7; = 23.01+dfsg-8 +1 more 23.01+dfsg-11ubuntu0.1~esm1 Fixed

Affected products

ProductAffected versionsFixed in
debian/7zip(Debian:12) < 22.01+dfsg-8+deb12u1 22.01+dfsg-8+deb12u1
debian/7zip(Debian:12) = 22.01+dfsg-8 No fix listed
debian/7zip(Debian:13) < 24.05+dfsg-1 24.05+dfsg-1
debian/7zip(Debian:14) < 24.05+dfsg-1 24.05+dfsg-1
debian/p7zip(Debian:12) < 16.02+really25.01+dfsg-0+deb12u1 16.02+really25.01+dfsg-0+deb12u1
debian/p7zip(Debian:12) = 16.02+dfsg-8 No fix listed
debian/p7zip(Debian:13) < 16.02+transitional.1 16.02+transitional.1
7-Zip < 24.01 24.01
ubuntu/7zip(Ubuntu:22.04) < 21.07+dfsg-4ubuntu0.1~esm1 21.07+dfsg-4ubuntu0.1~esm1
ubuntu/7zip(Ubuntu:24.04) < 23.01+dfsg-11ubuntu0.1~esm1 23.01+dfsg-11ubuntu0.1~esm1
ubuntu/7zip(Ubuntu:Pro:22.04) < 21.07+dfsg-4ubuntu0.1~esm1 21.07+dfsg-4ubuntu0.1~esm1
ubuntu/7zip(Ubuntu:Pro:22.04) = 21.03~beta+dfsg-6 No fix listed
ubuntu/7zip(Ubuntu:Pro:22.04) = 21.04~beta+dfsg-1 No fix listed
ubuntu/7zip(Ubuntu:Pro:22.04) = 21.06+dfsg-1 No fix listed
ubuntu/7zip(Ubuntu:Pro:22.04) = 21.07+dfsg-1 No fix listed
ubuntu/7zip(Ubuntu:Pro:22.04) = 21.07+dfsg-2 No fix listed
ubuntu/7zip(Ubuntu:Pro:22.04) = 21.07+dfsg-3 No fix listed
ubuntu/7zip(Ubuntu:Pro:22.04) = 21.07+dfsg-4 No fix listed
ubuntu/7zip(Ubuntu:Pro:24.04) < 23.01+dfsg-11ubuntu0.1~esm1 23.01+dfsg-11ubuntu0.1~esm1
ubuntu/7zip(Ubuntu:Pro:24.04) = 23.01+dfsg-3 No fix listed
ubuntu/7zip(Ubuntu:Pro:24.04) = 23.01+dfsg-7 No fix listed
ubuntu/7zip(Ubuntu:Pro:24.04) = 23.01+dfsg-8 No fix listed
ubuntu/7zip(Ubuntu:Pro:24.04) = 23.01+dfsg-11 No fix listed

References