Skip to content
OpenAdvisories
Unscored Public exploit CVE-2005-4667 EUVD-2005-4661GHSA-8h2v-2p8g-f36m

Buffer overflow in UnZip 5.50 and earlier allows user-assisted attackers to execute arbitrary code via a long filename command line argumen…

Published Jan 25, 2006 · Updated Aug 7, 2024 · Assigned by mitre

Description

Buffer overflow in UnZip 5.50 and earlier allows user-assisted attackers to execute arbitrary code via a long filename command line argument. NOTE: since the overflow occurs in a non-setuid program, there are not many scenarios under which it poses a vulnerability, unless unzip is passed long arguments when it is invoked from other programs.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 unzip 5.52-7 —
Debian 13 unzip 5.52-7 —
Debian 12 unzip 5.52-7 —
Debian 3.1 unzip 5.52-1sarge4 DSA-1012-1
Debian 3.0 unzip 5.50-1woody6 DSA-1012-1
ReleasePackageFixed inAdvisory
RHEL 4 unzip 5.51-9.EL4.5 RHSA-2007:0203
RHEL 3 unzip 5.50-35.EL3 RHBA-2007:0418

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References