CVE-2016-2324

NameCVE-2016-2324
DescriptionInteger overflow in Git before 2.7.4 allows remote attackers to execute arbitrary code via a (1) long filename or (2) many nested trees, which triggers a heap-based buffer overflow.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-3521-1
Debian Bugs818318

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cgit (PTS)jessie, jessie (lts)0.10.2.git2.0.1-3+deb8u2fixed
stretch (security), stretch (lts), stretch1.1+git2.10.2-3+deb9u1fixed
buster1.2.1+git2.18.0-1fixed
bullseye1.2.3+git2.25.1-1fixed
bookworm1.2.3+git20221219.50.91f2590+git2.39.1-1fixed
sid, trixie1.2.3+git20240802.70.09d24d7+git2.46.0-1fixed
git (PTS)jessie, jessie (lts)1:2.1.4-2.1+deb8u14fixed
stretch (security)1:2.11.0-3+deb9u7fixed
stretch (lts), stretch1:2.11.0-3+deb9u11fixed
buster (security), buster, buster (lts)1:2.20.1-2+deb10u9fixed
bullseye1:2.30.2-1+deb11u2fixed
bullseye (security)1:2.30.2-1+deb11u3fixed
bookworm (security), bookworm1:2.39.5-0+deb12u1fixed
trixie1:2.45.2-1fixed
sid1:2.45.2-1.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cgitsource(unstable)(not affected)
gitsourcewheezy1:1.7.10.4-1+wheezy3DSA-3521-1
gitsourcejessie1:2.1.4-2.1+deb8u2DSA-3521-1
gitsource(unstable)1:2.8.0~rc3-1818318

Notes

Removal of path_name: https://github.com/git/git/commit/9831e92bfa833ee9c0ce464bbc2f941ae6c2698d (v2.8.0-rc0)
https://www.openwall.com/lists/oss-security/2016/03/16/2
https://bugzilla.suse.com/show_bug.cgi?id=971328#c4
- cgit <not-affected> (path_name function from embedded git is not called)

Search for package or bug name: Reporting problems