Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: 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 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-1899
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:08 UTC · Revision 1

Source evidence

CVE-2016-1899

core-osv · Original source

Published 20 Jan 2016, 16:59 UTC

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
Complete source record
{
  "id": "1e056ec8033b9c7d6e22daaf676eaa53a1d0805fea1a10c1b4d7bbc15ee92418",
  "url": "https://osv.dev/vulnerability/CVE-2016-1899",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-1899",
    "summary": "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.",
    "evidence": "osv:CVE-2016-1899",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2016-1899",
      "aliases": [
        "CVE-2016-1899"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.zx2c4.com/cgit",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "cadbb69990d232ce49547190b1cff2b57fc8b438"
                },
                {
                  "fixed": "1c581a072651524f3b0d91f33e22a42c4166dd96"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cgit_project:cgit:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.11.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1c581a072651524f3b0d91f33e22a42c4166dd96"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.11.2",
            "v0.11.1",
            "v0.11.0",
            "v0.10.2",
            "v0.10.1",
            "v0.10",
            "v0.9.2",
            "v0.9.1",
            "v0.9",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8",
            "v0.7",
            "v0.6.3",
            "v0.6.2",
            "v0.6.1",
            "v0.6",
            "v0.5",
            "v0.4",
            "v0.3",
            "v0.2",
            "v0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-1899.json",
            "vanir_signatures": [
              {
                "id": "CVE-2016-1899-08c54de6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "307136254456730163765368824654572399851",
                    "123347878746130227057849418693629089715",
                    "90482116329366804469546560834053768068",
                    "255221238176748584818366218199878161804"
                  ]
                },
                "source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
                "target": {
                  "file": "ui-blob.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-1899-3bece554",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "101173779907320941802641747240143240464",
                    "41346293805211059047168338396877277820",
                    "137865317403542991455470481061731374896",
                    "118258220666647047474249693392782549808"
                  ]
                },
                "source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
                "target": {
                  "file": "cgit.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-1899-7e9b8f7f",
                "digest": {
                  "length": 1421,
                  "function_hash": "182798090272673880455268656542035352129"
                },
                "source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
                "target": {
                  "file": "ui-blob.c",
                  "function": "cgit_print_blob"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-1899-ecab8aab",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "191341538751499768014761671572845968420",
                    "181071091347816295063874276152688780859",
                    "79918251570343766929195608532555849915",
                    "75253324951123922116191460458354673606",
                    "136380348269258387393454349888230731941"
                  ]
                },
                "source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
                "target": {
                  "file": "cgit.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-1899-edbf696f",
                "digest": {
                  "length": 2190,
                  "function_hash": "36367758278550469187337439793545489988"
                },
                "source": "https://git.zx2c4.com/cgit@1c581a072651524f3b0d91f33e22a42c4166dd96",
                "target": {
                  "file": "cgit.c",
                  "function": "querystring_cb"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:12:43Z"
          }
        }
      ],
      "modified": "2026-10-20T13:12:43.063887949Z",
      "provider": "osv",
      "references": [],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "22"
                  },
                  {
                    "last_affected": "22"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2016-1899",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387303,
  "published_at": "2016-01-20T16:59:03.88+00:00"
}