zgrep applied to a crafted file name with two or more newlines can no longer overwrite an arbitrary, attacker-selected file. reproducer: $ touch foo.gz $ echo foo | gzip > "$(printf '|\n;e touch pwned\n#.gz')" $ zgrep foo *.gz (the unfixed version of zgrep creates the file called pwned). --------------------------------------------------------------------------------Fedora Update Notification FEDORA-2022-6746dde2a0 2022-04-20 19:09:32.222254 --------------------------------------------------------------------------------Name : gzip Product : Fedora 35 Version : 1.10 Release : 6.fc35 URL : https://www.gzip.org/ Summary : GNU data compression program Description : The gzip package contains the popular GNU gzip data compression program. Gzipped files have a .gz extension. Gzip should be installed on your system, because it is a very commonly used data compression program. --------------------------------------------------------------------------------Update Information: zgrep applied to a crafted file name with two or more newlines can no longer overwrite an arbitrary, attacker-selected file. reproducer: $ touch foo.gz $ echo foo | gzip > "$(printf '|\n;e touch pwned\n#.gz')" $ zgrep foo *.gz (the unfixed version of zgrep creates the file called pwned) --------------------------------------------------------------------------------ChangeLog: * Wed Apr 13 2022 Jakub Martisko - 1.10-6 - fix an arbitrary-file-write vulnerability in zgrep Resolves: CVE-2022-1271 --------------------------------------------------------------------------------This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2022-6746dde2a0' at the command line. For more information, refer to the dnf documentation available at https://dnf.readthedocs.io/en/latest/command_ref.html All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be foundat https://fedoraproject.org/security/ --------------------------------------------------------------------------------_______________________________________________ package-announce mailing list --
Get the latest Linux and open source security news straight to your inbox.