summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2022-04-04 23:52:49 -0700
committerJim Meyering <meyering@fb.com>2022-04-07 09:28:24 -0700
commitd74a30d45c6834c8e9f87115197370fe86656d81 (patch)
tree73dd415c989912a0bc9299e1441eba98ad07c846 /NEWS
parentdc9740df61e575e8c3148b7bd3c147a81ea00c7c (diff)
downloadgzip-d74a30d45c6834c8e9f87115197370fe86656d81.tar.gz
zgrep: add NEWS and tests for this exploitable bug
* tests/zgrep-abuse: New file, based on PoC by cleemy desu wayo. * tests/Makefile.am (TESTS): Add it. * NEWS: Mention the exploit. The bug appears to have been present since the beginning.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index c1159b0..84e0ef0 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,9 @@ GNU gzip NEWS -*- outline -*-
** Bug fixes
+ zgrep applied to a crafted file name with two or more newlines
+ can no longer overwrite an arbitrary, attacker-selected file.
+
'zdiff -C 5' no longer misbehaves by treating '5' as a file name.
Configure-time options like --program-prefix now work.