Vulnerability · Published Nov 22, 2024 · Assigned by zdi
CVE-2024-114777-Zip Zstandard Decompression Integer Underflow Remote Code Execution Vulnerability
High 7.8
In plain English
A high-severity security flaw in 7-Zip from 7-Zip. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 22.4% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
7-Zip Zstandard Decompression Integer Underflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation. The specific flaw exists within the implementation of Zstandard decompression. The issue results from the lack of proper validation of user-supplied data, which can result in an integer underflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-24346.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | qt5-qtwebengine | 5.15.17-r7 | ALPINE-CVE-2024-11477 |
| Alpine:v3.22 | qt5-qtwebengine | 5.15.17-r10 | ALPINE-CVE-2024-11477 |
| Alpine:v3.23 | qt5-qtwebengine | 5.15.17-r10 | ALPINE-CVE-2024-11477 |
| Alpine:v3.22 | qt6-qtwebengine | 6.8.2-r3 | ALPINE-CVE-2024-11477 |
| Alpine:v3.23 | qt6-qtwebengine | 6.8.2-r3 | ALPINE-CVE-2024-11477 |
| Alpine:v3.24 | qt6-qtwebengine | 6.8.2-r3 | ALPINE-CVE-2024-11477 |
| Debian:13 | 7zip | 24.07+dfsg-1 | DEBIAN-CVE-2024-11477 |
| Debian:14 | 7zip | 24.07+dfsg-1 | DEBIAN-CVE-2024-11477 |
| Ubuntu:22.04:LTS | p7zip | no fix listed | UBUNTU-CVE-2024-11477 |
Affected products (as reported)
Weakness: CWE-191 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- ZDI-24-1532 x_research-advisory
- https://security.netapp.com/advisory/ntap-20250214-0007/