CVE-2023-52168 The NtfsHandler.cpp NTFS handler in 7-Zip before 24.01 (for 7zz) contains a heap-based buffer overflow that allows an attacker to overwrite two bytes at multiple offsets beyond the allocated buffer si...
HighCVSS 8.4
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
The NtfsHandler.cpp NTFS handler in 7-Zip before 24.01 (for 7zz) contains a heap-based buffer overflow that allows an attacker to overwrite two bytes at multiple offsets beyond the allocated buffer size: buffer+512*i-2, for i=9, i=10, i=11, etc.
Upgrade path
10 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 7-Zip 7zip | < 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
| Product | Affected versions | Fixed 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 7zip | < 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
- Debian Security Tracker CVE-2023-52168 vendor-advisory
- sourceforge.net issue-tracking
- www.openwall.com issue-tracking
- [oss-security] 20240703 CVE-2023-52168, CVE-2023-52169: buffer overflow, over-read vulnerabilities in the 7-Zip archiver mailing-list
- dfir.ru
- security.netapp.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-7438-1 vendor-advisory
- www.cve.org issue-tracking