CVE-2016-1900
published 2016-01-20CVE-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 permission to write to a…
PriorityP418low3.7CVSS 3.0
AVNACHPRNUINSUCNILAN
EPSS
1.93%
77.5th percentile
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.
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.
GHSA
GHSA-c3jf-224g-ww8f: CRLF injection vulnerability in the cgit_print_http_headers function in ui-shared
ghsa_unreviewed·2022-05-17
CVE-2016-1900 [MEDIUM] GHSA-c3jf-224g-ww8f: CRLF injection vulnerability in the cgit_print_http_headers function in ui-shared
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.
OSV
CVE-2016-1900: CRLF injection vulnerability in the cgit_print_http_headers function in ui-shared
osv·2016-01-20·CVSS 3.7
CVE-2016-1900 [LOW] CVE-2016-1900: CRLF injection vulnerability in the cgit_print_http_headers function in ui-shared
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.
Debian
CVE-2016-1900: cgit - CRLF injection vulnerability in the cgit_print_http_headers function in ui-share...
vendor_debian·2016·CVSS 3.7
CVE-2016-1900 [LOW] CVE-2016-1900: cgit - CRLF injection vulnerability in the cgit_print_http_headers function in ui-share...
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.
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)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-1900 cgit: Stored Cross Site Scripting & Header Injection in Filename Parameter [epel-all]
bugzilla·2016-01-15·CVSS 3.7
CVE-2016-1900 [LOW] CVE-2016-1900 cgit: Stored Cross Site Scripting & Header Injection in Filename Parameter [epel-all]
CVE-2016-1900 cgit: Stored Cross Site Scripting & Header Injection in Filename Parameter [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 mult
Bugzilla
CVE-2016-1900 cgit: Stored Cross Site Scripting & Header Injection in Filename Parameter
bugzilla·2016-01-15·CVSS 3.7
CVE-2016-1900 [LOW] CVE-2016-1900 cgit: Stored Cross Site Scripting & Header Injection in Filename Parameter
CVE-2016-1900 cgit: Stored Cross Site Scripting & Header Injection in Filename Parameter
It was found that user who has write access to the git repository could create filenames containing new lines that would result in that filename, including the newlines, being included in a header, resulting in header injection and eventually XSS.
Upstream patch:
http://git.zx2c4.com/cgit/commit/?id=513b3863d999f91b47d7e9f26710390db55f9463
CVE assignment:
http://openwall.com/lists/oss-security/2016/01/14/6
Discussion:
Created cgit tracking bugs for this issue:
Affects: fedora-all [bug 1298855]
Affects: epel-all [bug 1298856]
---
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
Bugzilla
CVE-2016-1900 cgit: Stored Cross Site Scripting & Header Injection in Filename Parameter [fedora-all]
bugzilla·2016-01-15·CVSS 3.7
CVE-2016-1900 [LOW] CVE-2016-1900 cgit: Stored Cross Site Scripting & Header Injection in Filename Parameter [fedora-all]
CVE-2016-1900 cgit: Stored Cross Site Scripting & Header Injection in Filename Parameter [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 multipl
http://git.zx2c4.com/cgit/commit/?id=513b3863d999f91b47d7e9f26710390db55f9463http://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=513b3863d999f91b47d7e9f26710390db55f9463http://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