Ojuju Advisory
DEBIAN-CVE-2022-1271 Also known as: CVE-2022-1271
Summary The record has no summary.
Details 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.
Severity High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Dates Published 2022-08-31 16:15 UTC Modified 2026-11-18 06:01 UTC
Affected packages and fixes gzip
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 1.12-1 (ecosystem)
Fixed versions 1.12-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
gzip
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 1.12-1 (ecosystem)
Fixed versions 1.12-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
gzip
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 1.12-1 (ecosystem)
Fixed versions 1.12-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
xz-utils
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 5.2.5-2.1 (ecosystem)
Fixed versions 5.2.5-2.1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
xz-utils
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 5.2.5-2.1 (ecosystem)
Fixed versions 5.2.5-2.1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
xz-utils
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 5.2.5-2.1 (ecosystem)
Fixed versions 5.2.5-2.1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check →