ALAS2-2022-1782
Active ImportantALAS2-2022-1782 (important): gzip, xz
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2022-1271 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2-2022-1782.html |
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. (CVE-2022-1271)
Solution
Run yum update gzip or yum update --advisory ALAS2-2022-1782 to update your system. Run yum update xz or yum update --advisory ALAS2-2022-1782 to update your system. Run yum update xz to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 8 occurrences-
1gzip
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- gzip-1.5-10.amzn2.0.1.aarch64
- gzip-debuginfo-1.5-10.amzn2.0.1.aarch64
- xz-5.2.2-1.amzn2.0.3.aarch64
- xz-libs-5.2.2-1.amzn2.0.3.aarch64
- xz-compat-libs-5.2.2-1.amzn2.0.3.aarch64
- xz-devel-5.2.2-1.amzn2.0.3.aarch64
- xz-lzma-compat-5.2.2-1.amzn2.0.3.aarch64
- xz-debuginfo-5.2.2-1.amzn2.0.3.aarch64
-
2xz
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- gzip-1.5-10.amzn2.0.1.aarch64
- gzip-debuginfo-1.5-10.amzn2.0.1.aarch64
- xz-5.2.2-1.amzn2.0.3.aarch64
- xz-libs-5.2.2-1.amzn2.0.3.aarch64
- xz-compat-libs-5.2.2-1.amzn2.0.3.aarch64
- xz-devel-5.2.2-1.amzn2.0.3.aarch64
- xz-lzma-compat-5.2.2-1.amzn2.0.3.aarch64
- xz-debuginfo-5.2.2-1.amzn2.0.3.aarch64
-
3gzip
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- gzip-1.5-10.amzn2.0.1.i686
- gzip-debuginfo-1.5-10.amzn2.0.1.i686
- xz-5.2.2-1.amzn2.0.3.i686
- xz-libs-5.2.2-1.amzn2.0.3.i686
- xz-compat-libs-5.2.2-1.amzn2.0.3.i686
- xz-devel-5.2.2-1.amzn2.0.3.i686
- xz-lzma-compat-5.2.2-1.amzn2.0.3.i686
- xz-debuginfo-5.2.2-1.amzn2.0.3.i686
-
4xz
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- gzip-1.5-10.amzn2.0.1.i686
- gzip-debuginfo-1.5-10.amzn2.0.1.i686
- xz-5.2.2-1.amzn2.0.3.i686
- xz-libs-5.2.2-1.amzn2.0.3.i686
- xz-compat-libs-5.2.2-1.amzn2.0.3.i686
- xz-devel-5.2.2-1.amzn2.0.3.i686
- xz-lzma-compat-5.2.2-1.amzn2.0.3.i686
- xz-debuginfo-5.2.2-1.amzn2.0.3.i686
-
5gzip
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- gzip-1.5-10.amzn2.0.1.src
- xz-5.2.2-1.amzn2.0.3.src
-
6xz
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- gzip-1.5-10.amzn2.0.1.src
- xz-5.2.2-1.amzn2.0.3.src
-
7gzip
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- gzip-1.5-10.amzn2.0.1.x86_64
- gzip-debuginfo-1.5-10.amzn2.0.1.x86_64
- xz-5.2.2-1.amzn2.0.3.x86_64
- xz-libs-5.2.2-1.amzn2.0.3.x86_64
- xz-compat-libs-5.2.2-1.amzn2.0.3.x86_64
- xz-devel-5.2.2-1.amzn2.0.3.x86_64
- xz-lzma-compat-5.2.2-1.amzn2.0.3.x86_64
- xz-debuginfo-5.2.2-1.amzn2.0.3.x86_64
-
8xz
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- gzip-1.5-10.amzn2.0.1.x86_64
- gzip-debuginfo-1.5-10.amzn2.0.1.x86_64
- xz-5.2.2-1.amzn2.0.3.x86_64
- xz-libs-5.2.2-1.amzn2.0.3.x86_64
- xz-compat-libs-5.2.2-1.amzn2.0.3.x86_64
- xz-devel-5.2.2-1.amzn2.0.3.x86_64
- xz-lzma-compat-5.2.2-1.amzn2.0.3.x86_64
- xz-debuginfo-5.2.2-1.amzn2.0.3.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2022-1271 https://access.redhat.com/security/cve/CVE-2022-1271
- CVE-2022-1271 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1271
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2022-1782.html | Unknown | 516851c0c55ecabb664e8edd936c073bb855211af347ff4d5c8e22d8483996f1 | amazon-alas/1 | 2026-11-16T08:26:43Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2022-1782.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2022-1782.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |