CVE-2008-5516: The web interface in git (gitweb) 1.5.x before 1.5.5 allows remote attackers to execute arbitrary commands via shell metacharacters related…
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.3% (FIRST EPSS); higher than 91.3% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: git-core (Debian:4.0) 1:1.4.4.4-4+etch1.
Low priority for now. Upgrade to git-core (Debian:4.0) 1:1.4.4.4-4+etch1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
The web interface in git (gitweb) 1.5.x before 1.5.5 allows remote attackers to execute arbitrary commands via shell metacharacters related to git_search.
- Published
- Jan 20, 2009
- Updated
- Jun 16, 2026
- EPSS
- 4.3% · 91th percentile
- CWE
- CWE-78
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| git | git | cpe:2.3:a:git:git |
| git-scm | git | cpe:2.3:a:git-scm:git |
| rpath | linux | cpe:2.3:o:rpath:linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- git git0.99.9j
- git git0.99.9k
- git git0.99.9l
- git git0.99.9m
- git git0.99.9n
- git git1.0.0
- git git1.0.0b
- git git1.0.3
+12 more rows
- git git1.0.4
- git git1.0.5
- git git1.0.6
- git git1.0.7
- git git1.0.8
- git git1.1.1
- git git1.1.2
- git git1.1.3
- git git1.1.4
- git git1.1.5
- git git1.1.6
- git git1.2.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:4.0 | git-core | before 1:1.4.4.4-4+etch1 | 1:1.4.4.4-4+etch1 |
Same product
git: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-32002Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution45Plan
- CVE-2022-25648The package git before 1.11.0 are vulnerable to Command Injection via git argument injection.40Plan
- CVE-2025-48385Git alllows arbitrary file writes via bundle-uri parameter injection34Monitor
Published before and after this one in the same product
- ← EarlierCVE-2008-3546Aug 7, 2008 · Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before 1.5.6.4 might allow local users to…31Monitor
- ← EarlierCVE-2008-5517Jan 13, 2009 · The web interface in git (gitweb) 1.5.x before 1.5.6 allows remote attackers to execute arbitrary commands via shell metacharacters related…34Monitor
- Later →CVE-2008-5916Jan 20, 2009 · 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…18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:git-core | 1:1.4.4.4-4+etch1 · Debian:4.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Root cause
User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.
The bug in code
The whole CWE-78 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const host = req.body.host;
exec("ping -c 1 " + host, onResult);Fixed
const host = req.body.host;
if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);
execFile("ping", ["-c", "1", host], onResult);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Command DelimitersCAPEC-15likelihood: High · High
- Exploiting Multiple Input Interpretation LayersCAPEC-43likelihood: Medium · High
- Argument InjectionCAPEC-6likelihood: High · High
- OS Command InjectionCAPEC-88likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (16 more)Show less
- lists.opensuse.org/opensuse-security-announce/2009-01/msg00002.html
- repo.or.cz/w/git.git?a=commitdiff%3Bh=c582abae
- secunia.com/advisories/33964
- secunia.com/advisories/34194
- securityreason.com/securityalert/4919
- wiki.rpath.com/Advisories:rPSA-2009-0005
- www.debian.org/security/2009/dsa-1708
- www.gentoo.org/security/en/glsa/glsa-200903-15.xml
- www.openwall.com/lists/oss-security/2009/01/20/1
- www.openwall.com/lists/oss-security/2009/01/21/7
- www.openwall.com/lists/oss-security/2009/01/23/2
- www.securityfocus.com/archive/1/500008/100/0/threaded
- www.ubuntu.com/usn/USN-723-1
- www.vupen.com/english/advisories/2009/0175
- bugzilla.redhat.com/show_bug.cgi?id=479715
- issues.rpath.com/browse/RPL-2936
Vendor advisories and official records. Exploit/PoC links are deliberately left out.