🛡️ CVE-2022-1271
🟠 CVSS 8.8 — High ✅ No Known Exploit CWE-179 NVD
8.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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.

Details

Severity HIGH
CVSS Score 8.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE CWE-179
Public Exploit ✅ No
Source NVD
Published 2022-08-31
Updated 2026-06-08
Modified 2025-06-09

Affected Packages

Software From version Fixed in
debian-linux
gzip 1.12
jboss-data-grid
xz 5.2.5

References

Issue Tracking, Third Party Advisory https://bugzilla.redhat.com/show_bug.cgi?id=2073310
Mailing List, Patch, Vendor Advisory https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html
Mailing List, Patch, Third Party Advisory https://www.openwall.com/lists/oss-security/2022/04/07/8
Issue Tracking, Third Party Advisory https://bugzilla.redhat.com/show_bug.cgi?id=2073310
Mailing List, Patch, Vendor Advisory https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html
Mailing List, Patch, Third Party Advisory https://www.openwall.com/lists/oss-security/2022/04/07/8

Similar Threats

Free Vulnerability Check

Is your WordPress site affected?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.