CVE-2008-5916
CVE-2008-5916 is a medium-severity vulnerability in Git with a CVSS 2.0 base score of 4.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-264.
Key facts
- Severity: Medium (CVSS 2.0 base score 4.6)
- EPSS exploit prediction: 0% (37th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-264
- Affected product: Git
- Published:
- Last modified:
Description
gitweb/gitweb.perl in gitweb in Git 1.6.x before 1.6.0.6, 1.5.6.x before 1.5.6.6, 1.5.5.x before 1.5.5.6, 1.5.4.x before 1.5.4.7, and other versions after 1.4.3 allows local repository owners to execute arbitrary commands by modifying the diff.external configuration variable and executing a crafted gitweb query.
Frequently asked questions
- What is CVE-2008-5916?
- gitweb/gitweb.perl in gitweb in Git 1.6.x before 1.6.0.6, 1.5.6.x before 1.5.6.6, 1.5.5.x before 1.5.5.6, 1.5.4.x before 1.5.4.7, and other versions after 1.4.3 allows local repository owners to execute arbitrary commands by modifying the diff.external configuration variable and executing a crafted gitweb query.
- How severe is CVE-2008-5916?
- CVE-2008-5916 has a CVSS 2.0 base score of 4.6, rated medium severity.
- Is CVE-2008-5916 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (37th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2008-5916?
- CVE-2008-5916 primarily affects Git. In total, 85 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2008-5916?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2008-5916 published?
- CVE-2008-5916 was published on 2009-01-21 and last updated on 2026-06-16.
References
- http://marc.info/?l=git&m=122975564100860&w=2
- http://marc.info/?l=linux-kernel&m=122975564100863&w=2:
- http://osvdb.org/50918
- http://secunia.com/advisories/33282
- http://secunia.com/advisories/33964
- http://secunia.com/advisories/34194
- http://securityreason.com/securityalert/4922
- http://www.gentoo.org/security/en/glsa/glsa-200903-15.xml
- http://www.openwall.com/lists/oss-security/2009/01/15/2
- http://www.openwall.com/lists/oss-security/2009/01/20/2
- http://www.ubuntu.com/usn/USN-723-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/47528
- https://www.redhat.com/archives/fedora-package-announce/2008-December/msg01169.html
- https://www.redhat.com/archives/fedora-package-announce/2008-December/msg01170.html
Affected products (85)
- cpe:2.3:a:git:git:1.4.3.1:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.4.3.2:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.4.3.3:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.4.3.4:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.4.3.5:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.4.4:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.4.4.1:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.4.4.2:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.4.4.3:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.4.4.4:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.0:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.0:rc4:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.0.4:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.0.5:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.0.6:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.0.7:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.1:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.1.1:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.1.2:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.1.3:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.1.4:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.1.5:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.1.6:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.2:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.2.2:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.2.3:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.2.4:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.2.5:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.3:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.3:rc4:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.3:rc5:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.3:rc7:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.3.1:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.3.2:*:*:*:*:*:*:*
More vulnerabilities in Git
- CVE-2020-5260 — Critical (CVSS 9.3): Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host…
- CVE-2024-32002 — Critical (CVSS 9.0): Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4,…
- CVE-2024-52005 — High (CVSS 8.8): Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error…
- CVE-2022-25648 — High (CVSS 8.1): The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the…
- CVE-2024-52006 — High (CVSS 7.5): Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both…
- CVE-2008-5516 — High (CVSS 7.5): The web interface in git (gitweb) 1.5.x before 1.5.5 allows remote attackers to execute arbitrary commands via shell…
Other CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities
- CVE-2016-8363 — Critical (CVSS 10.0): An issue was discovered in Moxa OnCell OnCellG3470A-LTE, AWK-1131A/3131A/4131A Series, AWK-3191 Series, AWK-5232/6232…
- CVE-2016-7457 — Critical (CVSS 10.0): VMware vRealize Operations (aka vROps) 6.x before 6.4.0 allows remote authenticated users to gain privileges, or halt…
- CVE-2015-7425 — Critical (CVSS 10.0): The Data Protection component in the VMware vSphere GUI in IBM Tivoli Storage Manager for Virtual Environments: Data…
- CVE-2015-8267 — Critical (CVSS 10.0): The PasswordReset.Controllers.ResetController.ChangePasswordIndex method in PasswordReset.dll in Dovestones AD Self…
- CVE-2015-7919 — Critical (CVSS 10.0): SearchBlox 8.3 before 8.3.1 allows remote attackers to write to the config file, and consequently cause a denial of…
- CVE-2015-7071 — Critical (CVSS 10.0): The File Bookmark component in Apple OS X before 10.11.2 allows attackers to bypass a sandbox protection mechanism for…
Browse all CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities →