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)
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2022-6b512ae9e5
Please login to add feedback.
This update has been submitted for testing by jamartis.
This update's test gating status has been changed to 'waiting'.
jamartis edited this update.
This update's test gating status has been changed to 'failed'.
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'passed'.
This update has been pushed to testing.
This update has been submitted for stable by bodhi.
This update has been pushed to stable.