Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2022-1271 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://access.redhat.com/security/cve/CVE-2022-1271 CVEThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2073310 CVEIssue TrackingThird Party Advisory
https://git.tukaani.org/?p=xz.git%3Ba=commit%3Bh=69d1b3fc29677af8ade8dc15dba83f0589cb63d6 CVEBroken Link
https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html CVEMailing ListPatchVendor Advisory
https://security.gentoo.org/glsa/202209-01 CVEThird Party Advisory

see all 18 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-20Improper Input Validation[email protected]
CWE-179Incorrect Behavior Order: Early Validation[email protected]

Affected Products

ProductVersions
gnu gzip
< 1.12

CPE

  • cpe:2.3:a:gnu:gzip:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
redhat jboss data grid
7.0.0

CPE

  • cpe:2.3:a:redhat:jboss_data_grid:7.0.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
debian debian linux
10.0

CPE

  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
tukaani xz
< 5.2.5

CPE

  • cpe:2.3:a:tukaani:xz:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

12 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2022-1271
NVD Published Date:
Aug 31, 2022
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2022-1271 Details - Not Deferred