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.
References (10)
Core 10
Core References
Patch mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/01/14/3
Mailing List vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2016-01/msg00084.html
Patch mailing-list
x_refsource_mlist
http://lists.zx2c4.com/pipermail/cgit/2016-January/002817.html
Various Sources mailing-list
x_refsource_mlist
http://lists.zx2c4.com/pipermail/cgit/2016-January/002790.html
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176198.html
Mailing List vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2016-01/msg00067.html
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2016/dsa-3545
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176167.html
Patch x_refsource_confirm
http://git.zx2c4.com/cgit/commit/?id=513b3863d999f91b47d7e9f26710390db55f9463
Mailing List mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/01/14/6
Scores
CVSS v3
3.7
EPSS
0.0193
EPSS Percentile
77.9%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Details
Status
published
Products (2)
cgit_project/cgit
< 0.11.2
fedoraproject/fedora
22
Published
Jan 20, 2016
Tracked Since
Feb 18, 2026