Skip to content
Heist/ feed
Unrated

CVE-2022-1271

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2022-1271

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2022-1271

gzip, xz-utils

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "n/a",
    "product": "gzip, xz-utils",
    "versions": [
      {
        "status": "affected",
        "version": "Fixed in gzip 1.12"
      }
    ]
  }
]
Related CVEs
CVE-2022-1271

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#21800 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement