CVE-2022-1271: An arbitrary file write vulnerability was found in GNU gzip's zgrep utility
59
This month
HIGH 8.8WATCHLISTUPGRADEDOWNGRADEMITIGATE
CVE-2022-1271 is a high-severity flaw (CVSS 8.8) affecting gzip, jboss data grid, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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. Thi
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-1271?
gzip: upgrade to 1.12; jboss data grid: downgrade or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-1271 being exploited?
CVE-2022-1271 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-1271 affect?
CVE-2022-1271 affects gzip, jboss data grid, debian linux. Severity is high (CVSS 8.8). 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-sele
How urgent is CVE-2022-1271?
Priority 59/100. High severity; EPSS top 7%: very likely to be exploited; On your watchlist