CVE-2016-1899
published 2016-01-20CVE-2016-1899: 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…
PriorityP417low3.7CVSS 3.0
AVNACHPRNUINSUCNILAN
EPSS
1.93%
77.5th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cgit_project | cgit | <= 0.11.2 | — |
| cgit_project | cgit | >= 0 < 0.11.2.git2.3.2-1.1 | 0.11.2.git2.3.2-1.1 |
| cgit_project | cgit | >= 0 < 0.11.2.git2.3.2-1.1 | 0.11.2.git2.3.2-1.1 |
| cgit_project | cgit | >= 0 < 0.11.2.git2.3.2-1.1 | 0.11.2.git2.3.2-1.1 |
| cgit_project | cgit | >= 0 < 0.11.2.git2.3.2-1.1 | 0.11.2.git2.3.2-1.1 |
| debian | cgit | < cgit 0.11.2.git2.3.2-1.1 (bookworm) | cgit 0.11.2.git2.3.2-1.1 (bookworm) |
| fedoraproject | fedora | — | — |
CVSS provenance
nvdv3.03.7LOWCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv3.7LOW
vendor_debian3.7LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2016-1899: cgit - CRLF injection vulnerability in the ui-blob handler in CGit before 0.12 allows r...
vendor_debian·2016·CVSS 3.7
CVE-2016-1899 [LOW] CVE-2016-1899: cgit - CRLF injection vulnerability in the ui-blob handler in CGit before 0.12 allows r...
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.
Scope: local
bookworm: resolved (fixed in 0.11.2.git2.3.2-1.1)
bullseye: resolved (fixed in 0.11.2.git2.3.2-1.1)
forky: resolved (fixed in 0.11.2.git2.3.2-1.1)
sid: resolved (fixed in 0.11.2.git2.3.2-1.1)
trixie: resolved (fixed in 0.11.2.git2.3.2-1.1)
GHSA
GHSA-53jj-rpcg-6cc6: CRLF injection vulnerability in the ui-blob handler in CGit before 0
ghsa_unreviewed·2022-05-17
CVE-2016-1899 [MEDIUM] GHSA-53jj-rpcg-6cc6: CRLF injection vulnerability in the ui-blob handler in CGit before 0
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.
OSV
CVE-2016-1899: CRLF injection vulnerability in the ui-blob handler in CGit before 0
osv·2016-01-20·CVSS 3.7
CVE-2016-1899 [LOW] CVE-2016-1899: CRLF injection vulnerability in the ui-blob handler in CGit before 0
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-1899 cgit: Reflected XSS and header injection in mimetype query string [fedora-all]
bugzilla·2016-01-15·CVSS 3.7
CVE-2016-1899 [LOW] CVE-2016-1899 cgit: Reflected XSS and header injection in mimetype query string [fedora-all]
CVE-2016-1899 cgit: Reflected XSS and header injection in mimetype query string [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple support
Bugzilla
CVE-2016-1899 cgit: Reflected XSS and header injection in mimetype query string
bugzilla·2016-01-15·CVSS 3.7
CVE-2016-1899 [LOW] CVE-2016-1899 cgit: Reflected XSS and header injection in mimetype query string
CVE-2016-1899 cgit: Reflected XSS and header injection in mimetype query string
It was found that ui-blob handler accepted a mimetype as a query string and then echoed this string verbatim back. A malicious user could provide a string like:
http://git.zx2c4.com/cgit/blob/cgit.c?mimetype=text/html%0d%0a%0d%0axss
Upstream patch:
http://git.zx2c4.com/cgit/commit/?id=1c581a072651524f3b0d91f33e22a42c4166dd96
CVE assignment:
http://openwall.com/lists/oss-security/2016/01/14/6
Discussion:
Created cgit tracking bugs for this issue:
Affects: fedora-all [bug 1298852]
Affects: epel-all [bug 1298853]
---
cgit-0.12-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
---
cgit-0.12-1.fc23 has been pushed to the Fedo
Bugzilla
CVE-2016-1899 cgit: Reflected XSS and header injection in mimetype query string [epel-all]
bugzilla·2016-01-15·CVSS 3.7
CVE-2016-1899 [LOW] CVE-2016-1899 cgit: Reflected XSS and header injection in mimetype query string [epel-all]
CVE-2016-1899 cgit: Reflected XSS and header injection in mimetype query string [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supp
http://git.zx2c4.com/cgit/commit/?id=1c581a072651524f3b0d91f33e22a42c4166dd96http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176167.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2016-January/176198.htmlhttp://lists.opensuse.org/opensuse-updates/2016-01/msg00067.htmlhttp://lists.opensuse.org/opensuse-updates/2016-01/msg00084.htmlhttp://lists.zx2c4.com/pipermail/cgit/2016-January/002790.htmlhttp://lists.zx2c4.com/pipermail/cgit/2016-January/002817.htmlhttp://www.debian.org/security/2016/dsa-3545http://www.openwall.com/lists/oss-security/2016/01/14/3http://www.openwall.com/lists/oss-security/2016/01/14/6http://git.zx2c4.com/cgit/commit/?id=1c581a072651524f3b0d91f33e22a42c4166dd96http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176167.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2016-January/176198.htmlhttp://lists.opensuse.org/opensuse-updates/2016-01/msg00067.htmlhttp://lists.opensuse.org/opensuse-updates/2016-01/msg00084.htmlhttp://lists.zx2c4.com/pipermail/cgit/2016-January/002790.htmlhttp://lists.zx2c4.com/pipermail/cgit/2016-January/002817.htmlhttp://www.debian.org/security/2016/dsa-3545http://www.openwall.com/lists/oss-security/2016/01/14/3http://www.openwall.com/lists/oss-security/2016/01/14/6
2016-01-20
Published