National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2005-0758 Detail

Description

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.

Source:  MITRE      Last Modified:  05/13/2005

Quick Info

CVE Dictionary Entry:
CVE-2005-0758
Original release date:
05/13/2005
Last revised:
10/10/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
4.6 MEDIUM
Vector:
(AV:L/AC:L/Au:N/C:P/I:P/A:P) (legend)
Impact Subscore:
6.4
Exploitability Subscore:
3.9
CVSS Version 2 Metrics:
Access Vector:
Locally exploitable
Access Complexity:
Low
Authentication:
Not required to exploit
Impact Type:
Provides user account access, Allows partial confidentiality, integrity, and availability violation; Allows unauthorized disclosure of information; Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (03/14/2007)

Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.58/SCOSA-2005.58.txt External Source SCO SCOSA-2005.58
ftp://patches.sgi.com/support/free/security/advisories/20060301-01.U.asc External Source SGI 20060301-01-U
http://bugs.gentoo.org/show_bug.cgi?id=90626 Vendor Advisory External Source MISC http://bugs.gentoo.org/show_bug.cgi?id=90626
http://docs.info.apple.com/article.html?artnum=306172 External Source CONFIRM http://docs.info.apple.com/article.html?artnum=306172
http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html External Source APPLE APPLE-SA-2007-07-31
http://rhn.redhat.com/errata/RHSA-2005-357.html External Source REDHAT RHSA-2005:357
http://securitytracker.com/id?1013928 External Source SECTRACK 1013928
http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.555852 External Source SLACKWARE SSA:2006-262
http://www.fedoralegacy.org/updates/FC2/2005-11-14-FLSA_2005_158801__Updated_bzip2_packages_fix_security_issues.html External Source FEDORA FLSA:158801
http://www.gentoo.org/security/en/glsa/glsa-200505-05.xml Patch; Vendor Advisory External Source GENTOO GLSA-200505-05
http://www.mandriva.com/security/advisories?name=MDKSA-2006:026 External Source MANDRIVA MDKSA-2006:026
http://www.mandriva.com/security/advisories?name=MDKSA-2006:027 External Source MANDRIVA MDKSA-2006:027
http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.002.html External Source OPENPKG OpenPKG-SA-2007.002
http://www.redhat.com/support/errata/RHSA-2005-474.html External Source REDHAT RHSA-2005:474
http://www.securityfocus.com/bid/13582 External Source BID 13582
http://www.securityfocus.com/bid/25159 External Source BID 25159
http://www.ubuntu.com/usn/usn-158-1 External Source UBUNTU USN-158-1
http://www.vupen.com/english/advisories/2007/2732 External Source VUPEN ADV-2007-2732
https://exchange.xforce.ibmcloud.com/vulnerabilities/20539 External Source XF gzip-zgrep-file-installation(20539)
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1081 External Source OVAL oval:org.mitre.oval:def:1081
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1107 External Source OVAL oval:org.mitre.oval:def:1107
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9797 External Source OVAL oval:org.mitre.oval:def:9797

References to Check Content

Identifier:
oval:org.mitre.oval:def:1081
Check System:
http://oval.mitre.org/XMLSchema/oval-definitions-5
Hyperlink:
http://oval.mitre.org/repository/data/DownloadDefinition?id=oval:org.mitre.oval:def:1081
Identifier:
oval:org.mitre.oval:def:1107
Check System:
http://oval.mitre.org/XMLSchema/oval-definitions-5
Hyperlink:
http://oval.mitre.org/repository/data/DownloadDefinition?id=oval:org.mitre.oval:def:1107
Identifier:
oval:org.mitre.oval:def:9797
Check System:
http://oval.mitre.org/XMLSchema/oval-definitions-5
Hyperlink:
http://oval.mitre.org/repository/data/DownloadDefinition?id=oval:org.mitre.oval:def:9797

Technical Details

Vulnerability Type (View All)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
OR
cpe:2.3:a:gnu:gzip:*:*:*:*:*:*:*:*

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 4 change records found - show changes