CVE-2008-3546
What it is
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 execute arbitrary code via a PATH whose length is larger than the system's PATH_MAX when running GIT utilities such as git-diff or git-grep.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 4.3% 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: 4.3% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 4.3% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Git 1.5.5.3
- Git 1.5.5.4
- Git 1.5.6.1
- Git 1.5.6.2
- Git 1.5.6.3
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/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-2008-3546.md and follow it. Check whether this project is affected by CVE-2008-3546. 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
References
- http://kerneltrap.org/mailarchive/git/2008/7/16/2529284
- http://secunia.com/advisories/31347
- http://secunia.com/advisories/31780
- http://secunia.com/advisories/32029
- http://secunia.com/advisories/32384
- http://secunia.com/advisories/33964
- http://security.gentoo.org/glsa/glsa-200809-16.xml
- http://wiki.rpath.com/Advisories:rPSA-2008-0253
- http://www.debian.org/security/2008/dsa-1637
- http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.5.6.4.txt
- http://www.securityfocus.com/archive/1/495391/100/0/threaded
- http://www.securityfocus.com/bid/30549
- http://www.securitytracker.com/id?1020627
- http://www.ubuntu.com/usn/USN-723-1
- http://www.vupen.com/english/advisories/2008/2306
- https://exchange.xforce.ibmcloud.com/vulnerabilities/44217
- https://issues.rpath.com/browse/RPL-2707
- https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00729.html
- http://kerneltrap.org/mailarchive/git/2008/7/16/2529284
- http://secunia.com/advisories/31347
- http://secunia.com/advisories/31780
- http://secunia.com/advisories/32029
- http://secunia.com/advisories/32384
- http://secunia.com/advisories/33964
- http://security.gentoo.org/glsa/glsa-200809-16.xml