Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2022-1782

Active Important

ALAS2-2022-1782 (important): gzip, xz

Published
27 Apr 2022
Updated
27 Apr 2022

Related CVEs

CVE identifiers linked by this publisher.

1
Publisher relationship details 1 records
Explicit publisher CVE relationships
CVERelationshipPublisher CVE fieldPublisher evidence
CVE-2022-1271Listed by advisory
Exact relationship valueadvisory_list
Publisher references
Exact 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.

8

Shared package data

Applies to all 8 occurrences
  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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.

0

No CVSS assessments were provided.

Publisher references

2
  • CVE-2022-1271 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-1271
  • CVE-2022-1271 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1271

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2022-1782.htmlUnknown516851c0c55ecabb664e8edd936c073bb855211af347ff4d5c8e22d8483996f1amazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2022-1782.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2022-1782.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected