Name | CVE-2016-2315 |
Description | revision.c in git before 2.7.4 uses an incorrect integer data type, which allows remote attackers to execute arbitrary code via a (1) long filename or (2) many nested trees, leading to a heap-based buffer overflow. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-3521-1 |
Debian Bugs | 818318 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
cgit (PTS) | bullseye | 1.2.3+git2.25.1-1 | fixed |
| sid, trixie, bookworm | 1.2.3+git20221219.50.91f2590+git2.39.1-1 | fixed |
git (PTS) | bullseye | 1:2.30.2-1+deb11u2 | fixed |
| bullseye (security) | 1:2.30.2-1+deb11u3 | fixed |
| bookworm | 1:2.39.2-1.1 | fixed |
| bookworm (security) | 1:2.39.5-0+deb12u1 | fixed |
| sid, trixie | 1:2.45.2-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
cgit | source | (unstable) | (not affected) | | | |
git | source | wheezy | 1:1.7.10.4-1+wheezy3 | | DSA-3521-1 | |
git | source | jessie | 1:2.1.4-2.1+deb8u2 | | DSA-3521-1 | |
git | source | (unstable) | 1:2.7.0-1 | | | 818318 |
Notes
https://github.com/git/git/commit/34fa79a6cde56d6d428ab0d3160cb094ebad3305 (v2.7.0-rc0)
- cgit <not-affected> (path_name function from embedded git is not called)