Description
Unzip 5.51 and earlier does not properly warn the user when extracting setuid or setgid files, which may allow local users to gain privileges.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | unzip | 5.52-1 | — |
| Debian 13 | unzip | 5.52-1 | — |
| Debian 12 | unzip | 5.52-1 | — |
References
- 14447 vdb-entry
- http://www.info-zip.org/FAQ.html
- ADV-2007-3866 vdb-entry
- 2005-0053 vendor-advisory
- 20050228 7a69Adv#22 - UNIX unzip keep setuid and setgid files mailing-list
- 17342 third-party-advisory
- 200844 vendor-advisory
- 17045 third-party-advisory
- 27684 third-party-advisory
- MDKSA-2005:197 vendor-advisory
- 103150 vendor-advisory