PT-2022-2156 · Gnu+11 · Gnu Gzip+11
Jim Meyering
·
Published
2022-04-07
·
Updated
2026-04-08
·
CVE-2022-1271
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
GNU gzip versions (affected versions not specified)
Description
An arbitrary file write vulnerability was found in GNU gzip's zgrep utility. This flaw occurs due to insufficient validation when processing filenames with two or more newlines where selected content and the target file names are embedded in crafted multi-line file names. A remote, low privileged attacker can force zgrep to write arbitrary files on the system by applying zgrep on a crafted file name. The vulnerability allows an attacker to overwrite arbitrary files on the system.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Gnu Gzip
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Xz Utils