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.
[
{
"id": "CVE-2016-1899-08c54de6",
"signature_version": "v1",
"source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"307136254456730163765368824654572399851",
"123347878746130227057849418693629089715",
"90482116329366804469546560834053768068",
"255221238176748584818366218199878161804"
]
},
"deprecated": false,
"target": {
"file": "ui-blob.c"
}
},
{
"id": "CVE-2016-1899-3bece554",
"signature_version": "v1",
"source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"101173779907320941802641747240143240464",
"41346293805211059047168338396877277820",
"137865317403542991455470481061731374896",
"118258220666647047474249693392782549808"
]
},
"deprecated": false,
"target": {
"file": "cgit.h"
}
},
{
"id": "CVE-2016-1899-7e9b8f7f",
"signature_version": "v1",
"source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
"signature_type": "Function",
"digest": {
"function_hash": "182798090272673880455268656542035352129",
"length": 1421.0
},
"deprecated": false,
"target": {
"file": "ui-blob.c",
"function": "cgit_print_blob"
}
},
{
"id": "CVE-2016-1899-ecab8aab",
"signature_version": "v1",
"source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"191341538751499768014761671572845968420",
"181071091347816295063874276152688780859",
"79918251570343766929195608532555849915",
"75253324951123922116191460458354673606",
"136380348269258387393454349888230731941"
]
},
"deprecated": false,
"target": {
"file": "cgit.c"
}
},
{
"id": "CVE-2016-1899-edbf696f",
"signature_version": "v1",
"source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
"signature_type": "Function",
"digest": {
"function_hash": "36367758278550469187337439793545489988",
"length": 2190.0
},
"deprecated": false,
"target": {
"file": "cgit.c",
"function": "querystring_cb"
}
}
]