Skip to content
OpenAdvisories
Unscored CVE-2016-1900 EUVD-2016-2994GHSA-c3jf-224g-ww8f

CRLF injection vulnerability in the cgit_print_http_headers function in ui-shared.c in CGit before 0.12 allows remote attackers with permis…

Published Jan 20, 2016 · Updated Aug 5, 2024 · Assigned by mitre

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.

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cgit 1.0-1.3 openSUSE-SU-2024:10137-1

Advisories 2

References