Name | CVE-2016-1900 |
Description | CRLF injection vulnerability in the cgit_print_http_headers function in ui-shared.c in CGit before 0.12 allows remote attackers with permission to write to a repository to inject arbitrary HTTP headers and conduct HTTP response splitting attacks or cross-site scripting (XSS) attacks via newline characters in a filename. |
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-3545-1 |
Debian Bugs | 812411 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
cgit (PTS) | jessie, jessie (lts) | 0.10.2.git2.0.1-3+deb8u2 | fixed |
| stretch (security), stretch (lts), stretch | 1.1+git2.10.2-3+deb9u1 | fixed |
| buster | 1.2.1+git2.18.0-1 | fixed |
| bullseye | 1.2.3+git2.25.1-1 | fixed |
| bookworm | 1.2.3+git20221219.50.91f2590+git2.39.1-1 | fixed |
| sid, trixie | 1.2.3+git20240802.70.09d24d7+git2.46.0-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 | jessie | 0.10.2.git2.0.1-3+deb8u1 | | DSA-3545-1 | |
cgit | source | (unstable) | 0.11.2.git2.3.2-1.1 | | | 812411 |
Notes
http://git.zx2c4.com/cgit/commit/?id=513b3863d999f91b47d7e9f26710390db55f9463 (v0.12)