zgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users to execute arbitrary commands via filenames that are injected into a sed script.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9797
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1107
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1081
https://exchange.xforce.ibmcloud.com/vulnerabilities/20539
http://www.vupen.com/english/advisories/2007/2732
http://www.ubuntu.com/usn/usn-158-1
http://www.securityfocus.com/bid/25159
http://www.securityfocus.com/bid/13582
http://www.redhat.com/support/errata/RHSA-2005-474.html
http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.002.html
http://www.mandriva.com/security/advisories?name=MDKSA-2006:027
http://www.mandriva.com/security/advisories?name=MDKSA-2006:026
http://www.gentoo.org/security/en/glsa/glsa-200505-05.xml
http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.555852
http://securitytracker.com/id?1013928
http://secunia.com/advisories/26235
http://secunia.com/advisories/22033
http://secunia.com/advisories/19183
http://secunia.com/advisories/18100
http://rhn.redhat.com/errata/RHSA-2005-357.html
http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html