Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI: CVE-2022-1271: Security patch for xz ((Multiple Advisories))

Back to Search

Amazon Linux AMI: CVE-2022-1271: Security patch for xz ((Multiple Advisories))

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
04/12/2022
Created
06/14/2022
Added
06/10/2022
Modified
06/10/2022

Description

Details for this vulnerability have not been published by NIST at this point. Descriptions from software vendor advisories for this issue are provided below.

From ALAS-2022-1598:

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. (CVE-2022-1271)

Solution(s)

  • amazon-linux-upgrade-gzip
  • amazon-linux-upgrade-xz

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;