Skip to content
OpenAdvisories
High ALAS2023-2023-042 1 CVE

Important: xz security update (Amazon Linux 2023)

Published Feb 17, 2023 · Updated Feb 22, 2023

Summary

Package updates are available for Amazon Linux 2023 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 9

ReleasePackageFixed in
Amazon Linux · 2023 xz 0:5.2.5-9.amzn2023.0.2
Amazon Linux · 2023 xz-debuginfo 0:5.2.5-9.amzn2023.0.2
Amazon Linux · 2023 xz-debugsource 0:5.2.5-9.amzn2023.0.2
Amazon Linux · 2023 xz-devel 0:5.2.5-9.amzn2023.0.2
Amazon Linux · 2023 xz-libs 0:5.2.5-9.amzn2023.0.2
Amazon Linux · 2023 xz-libs-debuginfo 0:5.2.5-9.amzn2023.0.2
Amazon Linux · 2023 xz-lzma-compat 0:5.2.5-9.amzn2023.0.2
Amazon Linux · 2023 xz-lzma-compat-debuginfo 0:5.2.5-9.amzn2023.0.2
Amazon Linux · 2023 xz-static 0:5.2.5-9.amzn2023.0.2

Vulnerabilities 1

References

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