Vulnerability CVE-2022-1271: Information
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.
Severity: HIGH (8.8) Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
---|---|---|---|---|---|---|
gzip | sisyphus | 1.12-alt1 | 1.13-alt3 | ALT-PU-2022-1660-1 | 298174 | Fixed |
gzip | sisyphus_e2k | 1.12-alt1.1 | 1.13-alt3 | ALT-PU-2022-4705-1 | - | Fixed |
gzip | sisyphus_riscv64 | 1.12-alt1 | 1.13-alt3 | ALT-PU-2022-4545-1 | - | Fixed |
gzip | p10 | 1.12-alt1 | 1.12-alt1 | ALT-PU-2022-1667-1 | 298175 | Fixed |
gzip | p10_e2k | 1.12-alt1.1 | 1.12-alt1.1 | ALT-PU-2022-4591-1 | - | Fixed |
gzip | p9 | 1.10-alt1.p9.1 | 1.10-alt1.p9.1 | ALT-PU-2023-1597-1 | 316771 | Fixed |
gzip | p9_e2k | 1.10-alt1.p9.1 | 1.10-alt1.p9.1 | ALT-PU-2023-5369-1 | - | Fixed |
gzip | c10f2 | 1.12-alt1 | 1.12-alt1 | ALT-PU-2022-1667-1 | 298175 | Fixed |
gzip | c9f2 | 1.10-alt1.p9.1 | 1.10-alt1.p9.1 | ALT-PU-2023-1595-1 | 318022 | Fixed |
gzip | p11 | 1.12-alt1 | 1.13-alt3 | ALT-PU-2022-1660-1 | 298174 | Fixed |
xz | c9f2 | 5.4.5-alt1 | 5.4.5-alt1 | ALT-PU-2024-14308-3 | 360101 | Fixed |