Integer Underflow Affecting 7zip package, versions <24.07+dfsg-1


Severity

Recommended
low

Based on default assessment until relevant scores are available

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DEBIAN13-7ZIP-8400299
  • published 21 Nov 2024
  • disclosed 22 Nov 2024

How to fix?

Upgrade Debian:13 7zip to version 24.07+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream 7zip package and not the 7zip package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.