Arbitrary File Write Vulnerability in GNU Gzip's Zgrep Utility
CVE-2022-1271
8.8HIGH
Summary
An arbitrary file write vulnerability exists in the zgrep utility of GNU Gzip. This vulnerability allows a remote attacker, with low privileges, to exploit insufficient filename validation when zgrep processes crafted multi-line file names. Attackers can manipulate the filename to target specific files on the system, leading to overwriting of files with their chosen content. This security concern emphasizes the need for careful handling of input in file-processing utilities.
Affected Version(s)
gzip, xz-utils Fixed in gzip 1.12
References
EPSS Score
7% chance of being exploited in the next 30 days.
CVSS V3.1
Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved