GNU Gzip, XZ Utils: Arbitrary file write A vulnerability has been discovered in GNU Gzip and XZ Utils' grep helpers which could result in writes to arbitrary files. gzip,xz-utils 2022-09-07 2022-09-07 837152 837155 remote 1.12 1.12 5.2.5 5.2.5

GNU Gzip is a popular data compression program. XZ Utils is free general-purpose data compression software with a high compression ratio.

GNU Gzip and XZ Utils' grep helpers do not sufficiently validate certain multi-line file names.

In some cases, writing to arbitrary files such as shell initialization files can be escalation to remote code execution.

Ensuring only trusted input is passed to GNU Gzip and XZ Utils' grep helpers minimizes the potential impact.

All GNU Gzip users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/gzip-1.12"

All XZ Utils users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/xz-utils-5.2.5"
CVE-2022-1271 ajak ajak