Уязвимость CVE-2022-1271: Информация
Описание
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.
Важность: HIGH (8,8) Вектор: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Исправленные пакеты
Имя пакета | Ветка | Исправлено в версии | Версия в репозитории | Errata ID | № Задания | Состояние |
---|---|---|---|---|---|---|
gzip | sisyphus | 1.12-alt1 | 1.13-alt3 | ALT-PU-2022-1660-1 | 298174 | Исправлено |
gzip | sisyphus_e2k | 1.12-alt1.1 | 1.13-alt3 | ALT-PU-2022-4705-1 | - | Исправлено |
gzip | sisyphus_riscv64 | 1.12-alt1 | 1.13-alt3 | ALT-PU-2022-4545-1 | - | Исправлено |
gzip | p10 | 1.12-alt1 | 1.12-alt1 | ALT-PU-2022-1667-1 | 298175 | Исправлено |
gzip | p10_e2k | 1.12-alt1.1 | 1.12-alt1.1 | ALT-PU-2022-4591-1 | - | Исправлено |
gzip | p9 | 1.10-alt1.p9.1 | 1.10-alt1.p9.1 | ALT-PU-2023-1597-1 | 316771 | Исправлено |
gzip | p9_e2k | 1.10-alt1.p9.1 | 1.10-alt1.p9.1 | ALT-PU-2023-5369-1 | - | Исправлено |
gzip | c10f1 | 1.12-alt1 | 1.12-alt1 | ALT-PU-2022-1667-1 | 298175 | Исправлено |
gzip | c9f2 | 1.10-alt1.p9.1 | 1.10-alt1.p9.1 | ALT-PU-2023-1595-1 | 318022 | Исправлено |
Ссылки на рекомендации, решения и инструменты
Ссылка | Ресурс |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=2073310 |
|
https://access.redhat.com/security/cve/CVE-2022-1271 |
|
https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html |
|
https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch |
|
https://www.openwall.com/lists/oss-security/2022/04/07/8 |
|
https://security-tracker.debian.org/tracker/CVE-2022-1271 |
|
GLSA-202209-01 |
|
https://security.netapp.com/advisory/ntap-20220930-0006/ |
|
https://git.tukaani.org/?p=xz.git%3Ba=commit%3Bh=69d1b3fc29677af8ade8dc15dba83f0589cb63d6 |