CVE-2022-1271
HIGHGNU gzip zgrep - File Write
Title source: llmDescription
An arbitrary file write vulnerability was found in GNU gzip's zgrep utility. When zgrep is applied on the attacker's chosen file name (for example, a crafted file name), this can overwrite an attacker's content to an arbitrary attacker-selected file. 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. This flaw allows a remote, low privileged attacker to force zgrep to write arbitrary files on the system.
Exploits (1)
References (9)
Scores
CVSS v3
8.8
EPSS
0.0081
EPSS Percentile
74.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-20
CWE-179
Status
published
Products (4)
debian/debian_linux
10.0
gnu/gzip
< 1.12
redhat/jboss_data_grid
7.0.0
tukaani/xz
< 5.2.5
Published
Aug 31, 2022
Tracked Since
Feb 18, 2026