Description
znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files.
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 | gzip | 1.3.5-6 | — |
| Debian 13 | gzip | 1.3.5-6 | — |
| Debian 12 | gzip | 1.3.5-6 | — |
| Debian 3.0 | gzip | 1.3.2-3woody1 | DSA-308 |
Advisories 1
- DSA-308 gzip - insecure temporary files Debian Security (DSA / DLA) · Mar 9, 2026
References
- 7872 vdb-entry
- TLSA-2003-38 vendor-advisory
- DSA-308 vendor-advisory
- MDKSA-2003:068 vendor-advisory
- http://www.openpkg.org/security/OpenPKG-SA-2003.031-gzip.html