CVE-2005-0758

Summary

CVECVE-2005-0758
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2005-05-13 04:00:00 UTC
Updated2025-04-03 01:03:51 UTC
Descriptionzgrep 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.

Risk And Classification

Primary CVSS: v2.0 4.6 from [email protected]

AV:L/AC:L/Au:N/C:P/I:P/A:P

Problem Types: NVD-CWE-Other | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:L/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 4.10 All All All
Operating System Canonical Ubuntu Linux 5.04 All All All
Application Gnu Gzip All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
Gzip Zgrep Arbitrary Command Execution Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
The Fedora Legacy Project af854a3a-2127-422b-91ae-364da2661108 www.fedoralegacy.org Broken Link, Permissions Required
APPLE-SA-2007-07-31 Security Update 2007-007 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com Mailing List, Third Party Advisory
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Third Party Advisory
SecurityTracker.com Archives - Gzip zgrep Implementation May Let Remote Users Execute Arbitrary Commands af854a3a-2127-422b-91ae-364da2661108 securitytracker.com Third Party Advisory, VDB Entry
ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.58/SCOSA-2005.58.txt af854a3a-2127-422b-91ae-364da2661108 ftp.sco.com Third Party Advisory
SGI Advanced Linux Environment Multiple Updates - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Advisories - Mandriva Linux af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Third Party Advisory
Gentoo Linux Documentation -- gzip: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org Patch, Third Party Advisory
Mac OS X Security Update Fixes Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Third Party Advisory
Apple Mac OS X 2007-007 Multiple Security Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
www.osvdb.org/16371 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org Broken Link
Slackware update for gzip - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Secunia - Advisories - UnixWare update for gzip af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
usn/usn-158-1 - Ubuntu Linux af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
patches.sgi.com/support/free/security/advisories/20060301-01.U.asc af854a3a-2127-422b-91ae-364da2661108 patches.sgi.com Third Party Advisory
Advisories - Mandriva Linux af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Third Party Advisory
About Security Update 2007-007 af854a3a-2127-422b-91ae-364da2661108 docs.info.apple.com Third Party Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Third Party Advisory
The Slackware Linux Project: Slackware Security Advisories af854a3a-2127-422b-91ae-364da2661108 slackware.com Third Party Advisory
Gentoo Bug 90626 - app-arch/gzip zgrep issue (CAN-2005-0758) af854a3a-2127-422b-91ae-364da2661108 bugs.gentoo.org Third Party Advisory
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Third Party Advisory
OpenPKG Corporation: Security: Security Advisories af854a3a-2127-422b-91ae-364da2661108 www.openpkg.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-03-14Mark J CoxRed Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report