CVE-2016-1900
CRLF injection vulnerability in the cgit_print_http_headers function in ui-shared.c in CGit before 0.12 allows remote attackers with…
Check your servers for CVE-2016-1900
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2016-1900 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
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.
Exploitation
EPSS 1.93%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 80.6% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2016-1900 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2016-1900RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2016-1900Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2016-1900
trivy image --scanners vuln IMAGE | grep CVE-2016-1900
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- openSUSE-SU-2016:0218 lists.opensuse.org · vendor advisory
- FEDORA-2016-e5a5fb196f lists.fedoraproject.org · vendor advisory
- openSUSE-SU-2016:0196 lists.opensuse.org · vendor advisory
- http://git.zx2c4.com/cgit/commit/?id=513b3863d999f91b47d7e9f26710390db55f9463 git.zx2c4.com
- DSA-3545 debian.org · vendor advisory
- FEDORA-2016-215b507409 lists.fedoraproject.org · vendor advisory
Other references
- [oss-security] 20160114 CVE Request: CGit - Multiple vulnerabilities openwall.com · mailing list
- [CGit] 20160114 [ANNOUNCE] CGIT v0.12 Released lists.zx2c4.com · mailing list
- [CGit] 20160113 XSS in cgit lists.zx2c4.com · mailing list
- [oss-security] 20160114 Re: CVE Request: CGit - Multiple vulnerabilities openwall.com · mailing list
Source: the record CVE-2016-1900 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse