Debian Security Advisory

DSA-5122-1 gzip -- security update

Date Reported:
18 Apr 2022
Affected Packages:
gzip
Vulnerable:
Yes
Security database references:
In the Debian bugtracking system: Bug 1009168.
In Mitre's CVE dictionary: CVE-2022-1271.
More information:

cleemy desu wayo reported that incorrect handling of filenames by zgrep in gzip, the GNU compression utilities, can result in overwrite of arbitrary files or execution of arbitrary code if a file with a specially crafted filename is processed.

For the oldstable distribution (buster), this problem has been fixed in version 1.9-3+deb10u1.

For the stable distribution (bullseye), this problem has been fixed in version 1.10-4+deb11u1.

We recommend that you upgrade your gzip packages.

For the detailed security status of gzip please refer to its security tracker page at: https://security-tracker.debian.org/tracker/gzip