CVE-2005-0758
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 4.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Record status
- Modified
Affected
- Gnu Gzip < 1.3.5
- Canonical Ubuntu Linux 4.10
- Canonical Ubuntu Linux 5.04
Attack profile CVSS 2.0 · 4.6
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2005-0758.md and follow it. Check whether this project is affected by CVE-2005-0758. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.gentoo.org/security/en/glsa/glsa-200505-05.xml
- http://www.gentoo.org/security/en/glsa/glsa-200505-05.xml
References
- ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.58/SCOSA-2005.58.txt
- ftp://patches.sgi.com/support/free/security/advisories/20060301-01.U.asc
- http://bugs.gentoo.org/show_bug.cgi?id=90626
- http://docs.info.apple.com/article.html?artnum=306172
- http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
- http://rhn.redhat.com/errata/RHSA-2005-357.html
- http://secunia.com/advisories/18100
- http://secunia.com/advisories/19183
- http://secunia.com/advisories/22033
- http://secunia.com/advisories/26235
- http://securitytracker.com/id?1013928
- http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.555852
- http://www.fedoralegacy.org/updates/FC2/2005-11-14-FLSA_2005_158801__Updated_bzip2_packages_fix_security_issues.html
- http://www.gentoo.org/security/en/glsa/glsa-200505-05.xml
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:026
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:027
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.002.html
- http://www.osvdb.org/16371
- http://www.redhat.com/support/errata/RHSA-2005-474.html
- http://www.securityfocus.com/bid/13582
- http://www.securityfocus.com/bid/25159
- http://www.ubuntu.com/usn/usn-158-1
- http://www.vupen.com/english/advisories/2007/2732
- https://exchange.xforce.ibmcloud.com/vulnerabilities/20539
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1081