PT-2022-2156
CVE-2022-1271
·
Published
2022-04-07
·
Updated
2026-10-31
Description by
CVSS 3.1
8.8
HighMetricsAV: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.
Exploitability
Exploit
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾