Description
Integer overflow in the authenticate_post function in CGit before 0.12 allows remote attackers to have unspecified impact via a large value in the Content-Length HTTP header, which triggers a buffer overflow.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cgit | 0.11.2.git2.3.2-1.1 | — |
| Debian 13 | cgit | 0.11.2.git2.3.2-1.1 | — |
| Debian 12 | cgit | 0.11.2.git2.3.2-1.1 | — |
| Debian 8 | cgit | 0.10.2.git2.0.1-3+deb8u1 | DSA-3545-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cgit | 1.0-1.3 | openSUSE-SU-2024:10137-1 |
Advisories 2
- DSA-3545-1 cgit - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10137-1 cgit-1.0-1.3 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- [oss-security] 20160114 CVE Request: CGit - Multiple vulnerabilities mailing-list
- openSUSE-SU-2016:0218 vendor-advisory
- [CGit] 20160114 [ANNOUNCE] CGIT v0.12 Released mailing-list
- FEDORA-2016-e5a5fb196f vendor-advisory
- http://git.zx2c4.com/cgit/commit/?id=4458abf64172a62b92810c2293450106e6dfc763
- openSUSE-SU-2016:0196 vendor-advisory
- [oss-security] 20160114 Re: CVE Request: CGit - Multiple vulnerabilities mailing-list
- DSA-3545 vendor-advisory
- FEDORA-2016-215b507409 vendor-advisory