CVE-2016-1899

Source
https://cve.org/CVERecord?id=CVE-2016-1899
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-1899.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-1899
Downstream
Related
Published
2016-01-20T16:59:03Z
Modified
2026-09-06T14:04:04Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "22"
                },
                {
                    "last_affected": "22"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "fedoraproject:fedora"
        }
    ]
}
References

Affected packages

Git / git.zx2c4.com/cgit

Affected ranges

Type
GIT
Repo
https://git.zx2c4.com/cgit
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
cadbb69990d232ce49547190b1cff2b57fc8b438
Fixed
1c581a072651524f3b0d91f33e22a42c4166dd96
Database specific
Show details
{
    "cpe": "cpe:2.3:a:cgit_project:cgit:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.11.2"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.1
v0.10
v0.10.1
v0.10.2
v0.11.0
v0.11.1
v0.11.2
v0.2
v0.3
v0.4
v0.5
v0.6
v0.6.1
v0.6.2
v0.6.3
v0.7
v0.8
v0.8.1
v0.8.2
v0.8.3
v0.9
v0.9.1
v0.9.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-1899.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "307136254456730163765368824654572399851",
                "123347878746130227057849418693629089715",
                "90482116329366804469546560834053768068",
                "255221238176748584818366218199878161804"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2016-1899-08c54de6",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
        "target": {
            "file": "ui-blob.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "101173779907320941802641747240143240464",
                "41346293805211059047168338396877277820",
                "137865317403542991455470481061731374896",
                "118258220666647047474249693392782549808"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2016-1899-3bece554",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
        "target": {
            "file": "cgit.h"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "182798090272673880455268656542035352129",
            "length": 1421
        },
        "id": "CVE-2016-1899-7e9b8f7f",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
        "target": {
            "file": "ui-blob.c",
            "function": "cgit_print_blob"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "191341538751499768014761671572845968420",
                "181071091347816295063874276152688780859",
                "79918251570343766929195608532555849915",
                "75253324951123922116191460458354673606",
                "136380348269258387393454349888230731941"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2016-1899-ecab8aab",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
        "target": {
            "file": "cgit.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "36367758278550469187337439793545489988",
            "length": 2190
        },
        "id": "CVE-2016-1899-edbf696f",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
        "target": {
            "file": "cgit.c",
            "function": "querystring_cb"
        }
    }
]
vanir_signatures_modified
"2026-09-06T14:04:04Z"