Vulnerability · Published May 3, 2024 · Assigned by zdi
CVE-2023-404817-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
High 7.8
In plain English
A high-severity out-of-bounds write in 7-Zip from 7-Zip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 13.8% (higher than 97% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | 7zip | 22.01+really25.01+dfsg-0+deb12u1 | DEBIAN-CVE-2023-40481 |
| Debian:13 | 7zip | 23.01+dfsg-1 | DEBIAN-CVE-2023-40481 |
| Debian:14 | 7zip | 23.01+dfsg-1 | DEBIAN-CVE-2023-40481 |
| Debian:12 | p7zip | 16.02+really25.01+dfsg-0+deb12u1 | DEBIAN-CVE-2023-40481 |
| Debian:13 | p7zip | 16.02+transitional.1 | DEBIAN-CVE-2023-40481 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- ZDI-23-1164 x_research-advisory
- vendor-provided URL vendor-advisory