CVE-2016-1899
CRLF injection vulnerability in the ui-blob handler in CGit before 0.12 allows remote attackers to inject arbitrary HTTP headers and…
Check your servers for CVE-2016-1899
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-1899 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 ui-blob handler in CGit before 0.12 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks or cross-site scripting (XSS) attacks via CRLF sequences in the mimetype parameter, as demonstrated by a request to blob/cgit.c.
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-1899 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2016-1899RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2016-1899Alpine
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-1899
trivy image --scanners vuln IMAGE | grep CVE-2016-1899
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=1c581a072651524f3b0d91f33e22a42c4166dd96 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-1899 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