DSA-1637-1 git-core -- buffer overflow

Related Vulnerabilities: CVE-2008-3546  

Multiple vulnerabilities have been identified in git-core, the core of the git distributed revision control system. Improper path length limitations in git's diff and grep functions, in combination with maliciously crafted repositories or changes, could enable a stack buffer overflow and potentially the execution of arbitrary code. The Common Vulnerabilities and Exposures project identifies this vulnerability as CVE-2008-3546. For the stable distribution (etch), this problem has been fixed in version 1.4.4.4-2.1+etch1. For the unstable distribution (sid), this problem has been fixed in version 1.5.6.5-1. We recommend that you upgrade your git-core packages.

Debian Security Advisory

DSA-1637-1 git-core -- buffer overflow

Date Reported:
15 Sep 2008
Affected Packages:
git-core
Vulnerable:
Yes
Security database references:
In the Debian bugtracking system: Bug 494097.
In Mitre's CVE dictionary: CVE-2008-3546.
More information:

Multiple vulnerabilities have been identified in git-core, the core of the git distributed revision control system. Improper path length limitations in git's diff and grep functions, in combination with maliciously crafted repositories or changes, could enable a stack buffer overflow and potentially the execution of arbitrary code.

The Common Vulnerabilities and Exposures project identifies this vulnerability as CVE-2008-3546.

For the stable distribution (etch), this problem has been fixed in version 1.4.4.4-2.1+etch4.

For the unstable distribution (sid), this problem has been fixed in version 1.5.6.5-1.

We recommend that you upgrade your git-core packages.

Fixed in:

Debian GNU/Linux 4.0 (etch)

Source:
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4.dsc
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4.orig.tar.gz
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4.diff.gz
Architecture-independent component:
http://security.debian.org/pool/updates/main/g/git-core/git-arch_1.4.4.4-2.1+etch4_all.deb
http://security.debian.org/pool/updates/main/g/git-core/git-cvs_1.4.4.4-2.1+etch4_all.deb
http://security.debian.org/pool/updates/main/g/git-core/git-email_1.4.4.4-2.1+etch4_all.deb
http://security.debian.org/pool/updates/main/g/git-core/gitweb_1.4.4.4-2.1+etch4_all.deb
http://security.debian.org/pool/updates/main/g/git-core/git-daemon-run_1.4.4.4-2.1+etch4_all.deb
http://security.debian.org/pool/updates/main/g/git-core/git-doc_1.4.4.4-2.1+etch4_all.deb
http://security.debian.org/pool/updates/main/g/git-core/git-svn_1.4.4.4-2.1+etch4_all.deb
http://security.debian.org/pool/updates/main/g/git-core/gitk_1.4.4.4-2.1+etch4_all.deb
Alpha:
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4_alpha.deb
AMD64:
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4_amd64.deb
ARM:
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4_arm.deb
HP Precision:
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4_hppa.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4_ia64.deb
Big-endian MIPS:
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4_mips.deb
Little-endian MIPS:
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/g/git-core/git-core_1.4.4.4-2.1+etch4_sparc.deb

MD5 checksums of the listed files are available in the original advisory.