CVE-2023-40481 7-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
7-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the parsing of SQFS files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-18589.
Upgrade path
8 packages: 5 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/7zip(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/7zip(Ubuntu Pro 22.04) | = 21.03~beta+dfsg-6; = 21.04~beta+dfsg-1; = 21.06+dfsg-1; = 21.07+dfsg-1 +5 more | No fix listed | No fix yet |
| debian/7zip(Debian 12) | < 22.01+really25.01+dfsg-0+deb12u1; = 22.01+dfsg-8; = 22.01+dfsg-8+deb12u1; = 22.01+dfsg-9 +1 more | 22.01+really25.01+dfsg-0+deb12u1 | Fixed |
| debian/7zip(Debian 13) | < 23.01+dfsg-1 | 23.01+dfsg-1 | Fixed |
| debian/7zip(Debian 14) | < 23.01+dfsg-1 | 23.01+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 |
| 7-Zip | = 22.01 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/7zip(Debian:12) | < 22.01+really25.01+dfsg-0+deb12u1 | 22.01+really25.01+dfsg-0+deb12u1 |
| debian/7zip(Debian:12) | = 22.01+dfsg-10~exp1 | No fix listed |
| debian/7zip(Debian:12) | = 22.01+dfsg-8 | No fix listed |
| debian/7zip(Debian:12) | = 22.01+dfsg-8+deb12u1 | No fix listed |
| debian/7zip(Debian:12) | = 22.01+dfsg-9 | No fix listed |
| debian/7zip(Debian:13) | < 23.01+dfsg-1 | 23.01+dfsg-1 |
| debian/7zip(Debian:14) | < 23.01+dfsg-1 | 23.01+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 | = 22.01 | No fix listed |
| ubuntu/7zip(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/7zip(Ubuntu:Pro:22.04) | All versions | No fix listed |
| 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:22.04) | = 21.07+dfsg-4ubuntu0.1~esm1 | No fix listed |
References
- Debian Security Tracker CVE-2023-40481 vendor-advisory
- ZDI-23-1164 issue-tracking third-party-advisory
- vendor-provided URL issue-tracking product release-notes vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking