CVE-2022-1271 Detail

Awaiting Analysis


This vulnerability is currently awaiting analysis.

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.

Severity

CVSS 3.x Severity and Metrics:

CVSS 2.0 Severity and Metrics:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

Weakness Enumeration

CWE-ID CWE Name Source
CWE-179 Incorrect Behavior Order: Early Validation Red Hat, Inc.  
CWE-1173 Improper Use of Validation Framework Red Hat, Inc.  

Change History

0 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2022-1271
NVD Published Date:
08/31/2022
NVD Last Modified:
08/31/2022
Source:
Red Hat, Inc.