Skip to content
OpenAdvisories
High ALAS2-2022-1782 1 CVE

Important: gzip security update (Amazon Linux 2)

Published Apr 25, 2022 · Updated Apr 27, 2022

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2022-1271: 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.

Fixed packages 8

ReleasePackageFixed in
Amazon Linux · 2 gzip 0:1.5-10.amzn2.0.1
Amazon Linux · 2 gzip-debuginfo 0:1.5-10.amzn2.0.1
Amazon Linux · 2 xz 0:5.2.2-1.amzn2.0.3
Amazon Linux · 2 xz-compat-libs 0:5.2.2-1.amzn2.0.3
Amazon Linux · 2 xz-debuginfo 0:5.2.2-1.amzn2.0.3
Amazon Linux · 2 xz-devel 0:5.2.2-1.amzn2.0.3
Amazon Linux · 2 xz-libs 0:5.2.2-1.amzn2.0.3
Amazon Linux · 2 xz-lzma-compat 0:5.2.2-1.amzn2.0.3

Vulnerabilities 1

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-1271.html