Vulnerabilites related to lars_hjemli - cgit
CVE-2011-2711 (GCVE-0-2011-2711)
Vulnerability from cvelistv5
Published
2011-08-03 00:00
Modified
2024-08-06 23:08
Severity ?
CWE
  • n/a
Summary
Cross-site scripting (XSS) vulnerability in the print_fileinfo function in ui-diff.c in cgit 0.9.0.2 and earlier allows remote authenticated users to inject arbitrary web script or HTML via the filename associated with the rename hint.
References
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T23:08:23.782Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "[oss-security] 20110724 Re: Re: CVE Request -- cGit -- XSS flaw in rename hint",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2011/07/24/4"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=725042"
          },
          {
            "name": "48866",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/48866"
          },
          {
            "name": "[oss-security] 20110724 Re: Re: CVE Request -- cGit -- XSS flaw in rename hint",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2011/07/24/3"
          },
          {
            "name": "[oss-security] 20110722 Re: CVE Request -- cGit -- XSS flaw in rename hint",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2011/07/22/6"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://hjemli.net/git/cgit/commit/?h=stable\u0026id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5"
          },
          {
            "name": "openSUSE-SU-2011:0891",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "https://hermes.opensuse.org/messages/10998459"
          },
          {
            "name": "74050",
            "tags": [
              "vdb-entry",
              "x_refsource_OSVDB",
              "x_transferred"
            ],
            "url": "http://www.osvdb.org/74050"
          },
          {
            "name": "[oss-security] 20110722 CVE Request -- cGit -- XSS flaw in rename hint",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2011/07/22/2"
          },
          {
            "name": "45358",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/45358"
          },
          {
            "name": "[oss-security] 20110722 Re: CVE Request -- cGit -- XSS flaw in rename hint",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2011/07/22/7"
          },
          {
            "name": "45541",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/45541"
          },
          {
            "name": "cgit-renamehint-xss(68754)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/68754"
          },
          {
            "name": "[cgit] 20110722 [PATCH] Fix potential XSS vulnerability in rename hint",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://hjemli.net/pipermail/cgit/2011-July/000276.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2011-07-22T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "Cross-site scripting (XSS) vulnerability in the print_fileinfo function in ui-diff.c in cgit 0.9.0.2 and earlier allows remote authenticated users to inject arbitrary web script or HTML via the filename associated with the rename hint."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2017-08-28T12:57:01",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "name": "[oss-security] 20110724 Re: Re: CVE Request -- cGit -- XSS flaw in rename hint",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2011/07/24/4"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=725042"
        },
        {
          "name": "48866",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/48866"
        },
        {
          "name": "[oss-security] 20110724 Re: Re: CVE Request -- cGit -- XSS flaw in rename hint",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2011/07/24/3"
        },
        {
          "name": "[oss-security] 20110722 Re: CVE Request -- cGit -- XSS flaw in rename hint",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2011/07/22/6"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://hjemli.net/git/cgit/commit/?h=stable\u0026id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5"
        },
        {
          "name": "openSUSE-SU-2011:0891",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "https://hermes.opensuse.org/messages/10998459"
        },
        {
          "name": "74050",
          "tags": [
            "vdb-entry",
            "x_refsource_OSVDB"
          ],
          "url": "http://www.osvdb.org/74050"
        },
        {
          "name": "[oss-security] 20110722 CVE Request -- cGit -- XSS flaw in rename hint",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2011/07/22/2"
        },
        {
          "name": "45358",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/45358"
        },
        {
          "name": "[oss-security] 20110722 Re: CVE Request -- cGit -- XSS flaw in rename hint",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2011/07/22/7"
        },
        {
          "name": "45541",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/45541"
        },
        {
          "name": "cgit-renamehint-xss(68754)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/68754"
        },
        {
          "name": "[cgit] 20110722 [PATCH] Fix potential XSS vulnerability in rename hint",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://hjemli.net/pipermail/cgit/2011-July/000276.html"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2011-2711",
    "datePublished": "2011-08-03T00:00:00",
    "dateReserved": "2011-07-11T00:00:00",
    "dateUpdated": "2024-08-06T23:08:23.782Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2011-1027 (GCVE-0-2011-1027)
Vulnerability from cvelistv5
Published
2011-03-20 01:00
Modified
2024-08-06 22:14
Severity ?
CWE
  • n/a
Summary
Off-by-one error in the convert_query_hexchar function in html.c in cgit.cgi in cgit before 0.8.3.5 allows remote attackers to cause a denial of service (infinite loop) via a string composed of a % (percent) character followed by invalid hex characters, as demonstrated by a %gg sequence.
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T22:14:27.171Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "FEDORA-2011-2803",
            "tags": [
              "vendor-advisory",
              "x_refsource_FEDORA",
              "x_transferred"
            ],
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055896.html"
          },
          {
            "name": "71005",
            "tags": [
              "vdb-entry",
              "x_refsource_OSVDB",
              "x_transferred"
            ],
            "url": "http://www.osvdb.org/71005"
          },
          {
            "name": "FEDORA-2011-2790",
            "tags": [
              "vendor-advisory",
              "x_refsource_FEDORA",
              "x_transferred"
            ],
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055966.html"
          },
          {
            "name": "46756",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/46756"
          },
          {
            "name": "ADV-2011-0667",
            "tags": [
              "vdb-entry",
              "x_refsource_VUPEN",
              "x_transferred"
            ],
            "url": "http://www.vupen.com/english/advisories/2011/0667"
          },
          {
            "name": "[oss-security] 20110307 cgit convert_query_hexchar infinite loop (CVE-2011-1027)",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://openwall.com/lists/oss-security/2011/03/07/3"
          },
          {
            "name": "43788",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/43788"
          },
          {
            "name": "FEDORA-2011-2815",
            "tags": [
              "vendor-advisory",
              "x_refsource_FEDORA",
              "x_transferred"
            ],
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055898.html"
          },
          {
            "name": "cgit-convertqueryhexchar-dos(65919)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/65919"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=680905"
          },
          {
            "name": "43633",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/43633"
          },
          {
            "name": "[git] 20110305 [ANNOUNCE] CGIT 0.8.3.5",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://article.gmane.org/gmane.comp.version-control.git/168493"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://hjemli.net/git/cgit/commit/?h=stable\u0026id=fc384b16fb9787380746000d3cea2d53fccc548e"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2011-03-05T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "Off-by-one error in the convert_query_hexchar function in html.c in cgit.cgi in cgit before 0.8.3.5 allows remote attackers to cause a denial of service (infinite loop) via a string composed of a % (percent) character followed by invalid hex characters, as demonstrated by a %gg sequence."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2017-08-16T14:57:01",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "name": "FEDORA-2011-2803",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA"
          ],
          "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055896.html"
        },
        {
          "name": "71005",
          "tags": [
            "vdb-entry",
            "x_refsource_OSVDB"
          ],
          "url": "http://www.osvdb.org/71005"
        },
        {
          "name": "FEDORA-2011-2790",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA"
          ],
          "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055966.html"
        },
        {
          "name": "46756",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/46756"
        },
        {
          "name": "ADV-2011-0667",
          "tags": [
            "vdb-entry",
            "x_refsource_VUPEN"
          ],
          "url": "http://www.vupen.com/english/advisories/2011/0667"
        },
        {
          "name": "[oss-security] 20110307 cgit convert_query_hexchar infinite loop (CVE-2011-1027)",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://openwall.com/lists/oss-security/2011/03/07/3"
        },
        {
          "name": "43788",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/43788"
        },
        {
          "name": "FEDORA-2011-2815",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA"
          ],
          "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055898.html"
        },
        {
          "name": "cgit-convertqueryhexchar-dos(65919)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/65919"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=680905"
        },
        {
          "name": "43633",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/43633"
        },
        {
          "name": "[git] 20110305 [ANNOUNCE] CGIT 0.8.3.5",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://article.gmane.org/gmane.comp.version-control.git/168493"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://hjemli.net/git/cgit/commit/?h=stable\u0026id=fc384b16fb9787380746000d3cea2d53fccc548e"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2011-1027",
    "datePublished": "2011-03-20T01:00:00",
    "dateReserved": "2011-02-14T00:00:00",
    "dateUpdated": "2024-08-06T22:14:27.171Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2013-2117 (GCVE-0-2013-2117)
Vulnerability from cvelistv5
Published
2013-08-09 18:00
Modified
2024-08-06 15:27
Severity ?
CWE
  • n/a
Summary
Directory traversal vulnerability in the cgit_parse_readme function in ui-summary.c in cgit before 0.9.2, when a readme file is set to a filesystem path, allows remote attackers to read arbitrary files via a .. (dot dot) in the url parameter.
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T15:27:40.787Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "54186",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/54186"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://git.zx2c4.com/cgit/commit/?h=wip\u0026id=babf94e04e74123eb658a823213c062663cdadd6"
          },
          {
            "name": "openSUSE-SU-2013:1303",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-08/msg00012.html"
          },
          {
            "name": "[oss-security] 20130527 Re: CVE Request: cgit directory traversal",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2013/05/27/3"
          },
          {
            "name": "[CGit] 20130527 [ANNOUNCE] CGIT v0.9.2 Released",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://lists.zx2c4.com/pipermail/cgit/2013-May/001394.html"
          },
          {
            "name": "openSUSE-SU-2013:1207",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-07/msg00061.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2013-05-25T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "Directory traversal vulnerability in the cgit_parse_readme function in ui-summary.c in cgit before 0.9.2, when a readme file is set to a filesystem path, allows remote attackers to read arbitrary files via a .. (dot dot) in the url parameter."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2013-08-22T09:00:00",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "name": "54186",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/54186"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://git.zx2c4.com/cgit/commit/?h=wip\u0026id=babf94e04e74123eb658a823213c062663cdadd6"
        },
        {
          "name": "openSUSE-SU-2013:1303",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-updates/2013-08/msg00012.html"
        },
        {
          "name": "[oss-security] 20130527 Re: CVE Request: cgit directory traversal",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2013/05/27/3"
        },
        {
          "name": "[CGit] 20130527 [ANNOUNCE] CGIT v0.9.2 Released",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://lists.zx2c4.com/pipermail/cgit/2013-May/001394.html"
        },
        {
          "name": "openSUSE-SU-2013:1207",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-updates/2013-07/msg00061.html"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2013-2117",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "Directory traversal vulnerability in the cgit_parse_readme function in ui-summary.c in cgit before 0.9.2, when a readme file is set to a filesystem path, allows remote attackers to read arbitrary files via a .. (dot dot) in the url parameter."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "54186",
              "refsource": "SECUNIA",
              "url": "http://secunia.com/advisories/54186"
            },
            {
              "name": "http://git.zx2c4.com/cgit/commit/?h=wip\u0026id=babf94e04e74123eb658a823213c062663cdadd6",
              "refsource": "CONFIRM",
              "url": "http://git.zx2c4.com/cgit/commit/?h=wip\u0026id=babf94e04e74123eb658a823213c062663cdadd6"
            },
            {
              "name": "openSUSE-SU-2013:1303",
              "refsource": "SUSE",
              "url": "http://lists.opensuse.org/opensuse-updates/2013-08/msg00012.html"
            },
            {
              "name": "[oss-security] 20130527 Re: CVE Request: cgit directory traversal",
              "refsource": "MLIST",
              "url": "http://www.openwall.com/lists/oss-security/2013/05/27/3"
            },
            {
              "name": "[CGit] 20130527 [ANNOUNCE] CGIT v0.9.2 Released",
              "refsource": "MLIST",
              "url": "http://lists.zx2c4.com/pipermail/cgit/2013-May/001394.html"
            },
            {
              "name": "openSUSE-SU-2013:1207",
              "refsource": "SUSE",
              "url": "http://lists.opensuse.org/opensuse-updates/2013-07/msg00061.html"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2013-2117",
    "datePublished": "2013-08-09T18:00:00",
    "dateReserved": "2013-02-19T00:00:00",
    "dateUpdated": "2024-08-06T15:27:40.787Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2012-4465 (GCVE-0-2012-4465)
Vulnerability from cvelistv5
Published
2012-10-10 18:00
Modified
2024-08-06 20:35
Severity ?
CWE
  • n/a
Summary
Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and earlier allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via an empty username in the "Author" field in a commit.
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T20:35:09.804Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "[oss-security] 20120930 cgit: heap buffer overflow",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/09/30/1"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec"
          },
          {
            "name": "[cgit] 20120703 avoid stack-smash when processing unusual commit",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://hjemli.net/pipermail/cgit/2012-July/000652.html"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=820733"
          },
          {
            "name": "50734",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/50734"
          },
          {
            "name": "55724",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/55724"
          },
          {
            "name": "[oss-security] 20121003 Re: cgit: heap buffer overflow",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/10/03/7"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2012-04-23T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and earlier allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via an empty username in the \"Author\" field in a commit."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2013-01-29T10:00:00",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "name": "[oss-security] 20120930 cgit: heap buffer overflow",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2012/09/30/1"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec"
        },
        {
          "name": "[cgit] 20120703 avoid stack-smash when processing unusual commit",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://hjemli.net/pipermail/cgit/2012-July/000652.html"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=820733"
        },
        {
          "name": "50734",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/50734"
        },
        {
          "name": "55724",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/55724"
        },
        {
          "name": "[oss-security] 20121003 Re: cgit: heap buffer overflow",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2012/10/03/7"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2012-4465",
    "datePublished": "2012-10-10T18:00:00",
    "dateReserved": "2012-08-21T00:00:00",
    "dateUpdated": "2024-08-06T20:35:09.804Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2012-4548 (GCVE-0-2012-4548)
Vulnerability from cvelistv5
Published
2012-11-11 11:00
Modified
2024-08-06 20:42
Severity ?
CWE
  • n/a
Summary
Argument injection vulnerability in syntax-highlighting.sh in cgit 9.0.3 and earlier allows remote authenticated users with permissions to add files to execute arbitrary commands via the --plug-in argument to the highlight command.
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T20:42:54.548Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=870713"
          },
          {
            "name": "51167",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/51167"
          },
          {
            "name": "56315",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/56315"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://git.zx2c4.com/cgit/commit/?id=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd"
          },
          {
            "name": "openSUSE-SU-2012:1461",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00004.html"
          },
          {
            "name": "50734",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/50734"
          },
          {
            "name": "openSUSE-SU-2012:1421",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00021.html"
          },
          {
            "name": "[oss-security] 20121027 CVE Request: cgit command injection",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/10/28/1"
          },
          {
            "name": "[oss-security] 20121028 Re: CVE Request: cgit command injection",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/10/28/2"
          },
          {
            "name": "cgit-syntaxhighlighting-command-exec(79665)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/79665"
          },
          {
            "name": "51222",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/51222"
          },
          {
            "name": "openSUSE-SU-2012:1460",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00003.html"
          },
          {
            "name": "openSUSE-SU-2012:1422",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00022.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2012-10-09T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "Argument injection vulnerability in syntax-highlighting.sh in cgit 9.0.3 and earlier allows remote authenticated users with permissions to add files to execute arbitrary commands via the --plug-in argument to the highlight command."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2017-08-28T12:57:01",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=870713"
        },
        {
          "name": "51167",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/51167"
        },
        {
          "name": "56315",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/56315"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://git.zx2c4.com/cgit/commit/?id=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd"
        },
        {
          "name": "openSUSE-SU-2012:1461",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00004.html"
        },
        {
          "name": "50734",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/50734"
        },
        {
          "name": "openSUSE-SU-2012:1421",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00021.html"
        },
        {
          "name": "[oss-security] 20121027 CVE Request: cgit command injection",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2012/10/28/1"
        },
        {
          "name": "[oss-security] 20121028 Re: CVE Request: cgit command injection",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2012/10/28/2"
        },
        {
          "name": "cgit-syntaxhighlighting-command-exec(79665)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/79665"
        },
        {
          "name": "51222",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/51222"
        },
        {
          "name": "openSUSE-SU-2012:1460",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00003.html"
        },
        {
          "name": "openSUSE-SU-2012:1422",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00022.html"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2012-4548",
    "datePublished": "2012-11-11T11:00:00",
    "dateReserved": "2012-08-21T00:00:00",
    "dateUpdated": "2024-08-06T20:42:54.548Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

Vulnerability from fkie_nvd
Published
2011-03-20 02:00
Modified
2025-04-11 00:51
Severity ?
Summary
Off-by-one error in the convert_query_hexchar function in html.c in cgit.cgi in cgit before 0.8.3.5 allows remote attackers to cause a denial of service (infinite loop) via a string composed of a % (percent) character followed by invalid hex characters, as demonstrated by a %gg sequence.
References
secalert@redhat.comhttp://article.gmane.org/gmane.comp.version-control.git/168493Broken Link
secalert@redhat.comhttp://hjemli.net/git/cgit/commit/?h=stable&id=fc384b16fb9787380746000d3cea2d53fccc548eBroken Link, Patch
secalert@redhat.comhttp://lists.fedoraproject.org/pipermail/package-announce/2011-March/055896.htmlMailing List, Patch
secalert@redhat.comhttp://lists.fedoraproject.org/pipermail/package-announce/2011-March/055898.htmlMailing List, Patch
secalert@redhat.comhttp://lists.fedoraproject.org/pipermail/package-announce/2011-March/055966.htmlMailing List
secalert@redhat.comhttp://openwall.com/lists/oss-security/2011/03/07/3Mailing List, Patch, Third Party Advisory
secalert@redhat.comhttp://secunia.com/advisories/43633Broken Link, Vendor Advisory
secalert@redhat.comhttp://secunia.com/advisories/43788Broken Link, Vendor Advisory
secalert@redhat.comhttp://www.osvdb.org/71005Broken Link
secalert@redhat.comhttp://www.securityfocus.com/bid/46756Broken Link, Exploit, Third Party Advisory, VDB Entry
secalert@redhat.comhttp://www.vupen.com/english/advisories/2011/0667Broken Link
secalert@redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=680905Exploit, Issue Tracking, Patch
secalert@redhat.comhttps://exchange.xforce.ibmcloud.com/vulnerabilities/65919Third Party Advisory, VDB Entry
af854a3a-2127-422b-91ae-364da2661108http://article.gmane.org/gmane.comp.version-control.git/168493Broken Link
af854a3a-2127-422b-91ae-364da2661108http://hjemli.net/git/cgit/commit/?h=stable&id=fc384b16fb9787380746000d3cea2d53fccc548eBroken Link, Patch
af854a3a-2127-422b-91ae-364da2661108http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055896.htmlMailing List, Patch
af854a3a-2127-422b-91ae-364da2661108http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055898.htmlMailing List, Patch
af854a3a-2127-422b-91ae-364da2661108http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055966.htmlMailing List
af854a3a-2127-422b-91ae-364da2661108http://openwall.com/lists/oss-security/2011/03/07/3Mailing List, Patch, Third Party Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/43633Broken Link, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/43788Broken Link, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://www.osvdb.org/71005Broken Link
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/46756Broken Link, Exploit, Third Party Advisory, VDB Entry
af854a3a-2127-422b-91ae-364da2661108http://www.vupen.com/english/advisories/2011/0667Broken Link
af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=680905Exploit, Issue Tracking, Patch
af854a3a-2127-422b-91ae-364da2661108https://exchange.xforce.ibmcloud.com/vulnerabilities/65919Third Party Advisory, VDB Entry



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "46B95C74-CB63-45DC-B169-128A61B746E9",
              "versionEndIncluding": "0.8.3.4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "EED1FFDD-4C04-415A-A6D6-8DAB2998A8AA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "23F704C1-4129-47D9-B844-B3E20696E36D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "434FAA85-D943-4E63-85C9-F0883CEB53E1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "6DF1115A-A47F-4A4F-8AED-F24302A0DF4C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "374B218F-A4D0-4704-A2A8-74F8A7D5759A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "ED123524-4D31-469E-9B2A-504033ACFE46",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "EE0D9623-3291-4DD1-9966-2307F7BB20B1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "ED6865FF-0102-46FA-8A2A-23FAC59CF1FB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "F8F178CE-4D7E-41CE-AA63-78E516063A7D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "1FE3007F-6BDA-42FC-84E0-19E271E6577D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "69087A94-2220-4F10-ACF4-337541661A1A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "7B0D564C-2F88-42E9-AF86-821DB37C8FD6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "3BD8D272-6729-4AEC-8058-6C6644165947",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "73FBD314-B417-4E83-827D-CC91861629B6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "9AE4ADD1-765B-4E83-A918-CE0DC1B30948",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "79FE9604-158B-4272-8DD2-A43CEC9885BB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "545A1C08-F649-4226-852F-7AC7FFCA41ED",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "783F5116-FD04-4D42-8EAA-C1CEF41A0C00",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "6B6063B5-BA90-407C-9068-A853E27C76BB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "4AD828C7-AC59-412C-A560-D5B944D357A5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "59943A07-8B85-4EB5-B8E7-E4587D472D31",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "AF02DFB4-BA4D-4A36-9F0A-E0D04727A206",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    },
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:o:fedoraproject:fedora:13:*:*:*:*:*:*:*",
              "matchCriteriaId": "A2D59BD0-43DE-4E58-A057-640AB98359A6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:fedoraproject:fedora:14:*:*:*:*:*:*:*",
              "matchCriteriaId": "BDE52846-24EC-4068-B788-EC7F915FFF11",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:fedoraproject:fedora:15:*:*:*:*:*:*:*",
              "matchCriteriaId": "9396E005-22D8-4342-9323-C7DEA379191D",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Off-by-one error in the convert_query_hexchar function in html.c in cgit.cgi in cgit before 0.8.3.5 allows remote attackers to cause a denial of service (infinite loop) via a string composed of a % (percent) character followed by invalid hex characters, as demonstrated by a %gg sequence."
    },
    {
      "lang": "es",
      "value": "Error de superaci\u00f3n de l\u00edmite (off-by-one) en la funci\u00f3n convert_query_hexchar en html.c en cgit.cgi en cgit anteriores a v0.8.3.5, permite a atacantes remotos provocar una denegaci\u00f3n de servicio (buble infinito) a trav\u00e9s de una cadena compuesta por un caracter \"%\" (por ciento) seguido de caracteres hexadecimales no v\u00e1lidos, como se demostr\u00f3 con la secuencia %gg."
    }
  ],
  "id": "CVE-2011-1027",
  "lastModified": "2025-04-11T00:51:21.963",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 5.0,
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 2.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2011-03-20T02:00:04.017",
  "references": [
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Broken Link"
      ],
      "url": "http://article.gmane.org/gmane.comp.version-control.git/168493"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Broken Link",
        "Patch"
      ],
      "url": "http://hjemli.net/git/cgit/commit/?h=stable\u0026id=fc384b16fb9787380746000d3cea2d53fccc548e"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Mailing List",
        "Patch"
      ],
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055896.html"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Mailing List",
        "Patch"
      ],
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055898.html"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Mailing List"
      ],
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055966.html"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Mailing List",
        "Patch",
        "Third Party Advisory"
      ],
      "url": "http://openwall.com/lists/oss-security/2011/03/07/3"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Broken Link",
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/43633"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Broken Link",
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/43788"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Broken Link"
      ],
      "url": "http://www.osvdb.org/71005"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Broken Link",
        "Exploit",
        "Third Party Advisory",
        "VDB Entry"
      ],
      "url": "http://www.securityfocus.com/bid/46756"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Broken Link"
      ],
      "url": "http://www.vupen.com/english/advisories/2011/0667"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Exploit",
        "Issue Tracking",
        "Patch"
      ],
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=680905"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Third Party Advisory",
        "VDB Entry"
      ],
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/65919"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Broken Link"
      ],
      "url": "http://article.gmane.org/gmane.comp.version-control.git/168493"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Broken Link",
        "Patch"
      ],
      "url": "http://hjemli.net/git/cgit/commit/?h=stable\u0026id=fc384b16fb9787380746000d3cea2d53fccc548e"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Mailing List",
        "Patch"
      ],
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055896.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Mailing List",
        "Patch"
      ],
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055898.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Mailing List"
      ],
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055966.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Mailing List",
        "Patch",
        "Third Party Advisory"
      ],
      "url": "http://openwall.com/lists/oss-security/2011/03/07/3"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Broken Link",
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/43633"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Broken Link",
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/43788"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Broken Link"
      ],
      "url": "http://www.osvdb.org/71005"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Broken Link",
        "Exploit",
        "Third Party Advisory",
        "VDB Entry"
      ],
      "url": "http://www.securityfocus.com/bid/46756"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Broken Link"
      ],
      "url": "http://www.vupen.com/english/advisories/2011/0667"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit",
        "Issue Tracking",
        "Patch"
      ],
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=680905"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Third Party Advisory",
        "VDB Entry"
      ],
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/65919"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-193"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}

Vulnerability from fkie_nvd
Published
2012-10-10 18:55
Modified
2025-04-11 00:51
Severity ?
Summary
Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and earlier allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via an empty username in the "Author" field in a commit.



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "7A82FD8B-D714-411C-9DF4-A9BCE9465E6B",
              "versionEndIncluding": "0.9.0.3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "EED1FFDD-4C04-415A-A6D6-8DAB2998A8AA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "23F704C1-4129-47D9-B844-B3E20696E36D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "434FAA85-D943-4E63-85C9-F0883CEB53E1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "6DF1115A-A47F-4A4F-8AED-F24302A0DF4C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "374B218F-A4D0-4704-A2A8-74F8A7D5759A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "ED123524-4D31-469E-9B2A-504033ACFE46",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "EE0D9623-3291-4DD1-9966-2307F7BB20B1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "ED6865FF-0102-46FA-8A2A-23FAC59CF1FB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "F8F178CE-4D7E-41CE-AA63-78E516063A7D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "1FE3007F-6BDA-42FC-84E0-19E271E6577D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "69087A94-2220-4F10-ACF4-337541661A1A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "7B0D564C-2F88-42E9-AF86-821DB37C8FD6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "3BD8D272-6729-4AEC-8058-6C6644165947",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "73FBD314-B417-4E83-827D-CC91861629B6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "9AE4ADD1-765B-4E83-A918-CE0DC1B30948",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "79FE9604-158B-4272-8DD2-A43CEC9885BB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "545A1C08-F649-4226-852F-7AC7FFCA41ED",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "783F5116-FD04-4D42-8EAA-C1CEF41A0C00",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "6B6063B5-BA90-407C-9068-A853E27C76BB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "4AD828C7-AC59-412C-A560-D5B944D357A5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "59943A07-8B85-4EB5-B8E7-E4587D472D31",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "AF02DFB4-BA4D-4A36-9F0A-E0D04727A206",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "1D953ABA-EE07-4796-9B3A-516C3B8E198D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "F1211001-96A0-4686-A718-E1F6FE0FB520",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.9:*:*:*:*:*:*:*",
              "matchCriteriaId": "8BFB6787-0F9E-45C1-B967-0E2A7CEC1F14",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.9.0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "1C6EE19E-B467-430F-A53E-FD4A1D3ED753",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.9.0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "9C8A8CDF-4730-49E5-9181-C462E9EF2CE9",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and earlier allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via an empty username in the \"Author\" field in a commit."
    },
    {
      "lang": "es",
      "value": "Desbordamiento de b\u00fafer basado en memoria din\u00e1mica  en la funci\u00f3n substr en parsing.c en cgit v0.9.0.3, permite a atacantes remotos provocar una denegaci\u00f3n de servicio (ca\u00edda) y posiblemente ejecutar c\u00f3digo a trav\u00e9s de un nombre vac\u00edo en el campo \"Author\" en una solicitud."
    }
  ],
  "id": "CVE-2012-4465",
  "lastModified": "2025-04-11T00:51:21.963",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "SINGLE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 6.5,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 8.0,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2012-10-10T18:55:05.207",
  "references": [
    {
      "source": "secalert@redhat.com",
      "url": "http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://hjemli.net/pipermail/cgit/2012-July/000652.html"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/50734"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.openwall.com/lists/oss-security/2012/09/30/1"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.openwall.com/lists/oss-security/2012/10/03/7"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.securityfocus.com/bid/55724"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=820733"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://hjemli.net/pipermail/cgit/2012-July/000652.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/50734"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2012/09/30/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2012/10/03/7"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/55724"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=820733"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-119"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}

Vulnerability from fkie_nvd
Published
2011-08-03 00:55
Modified
2025-04-11 00:51
Severity ?
Summary
Cross-site scripting (XSS) vulnerability in the print_fileinfo function in ui-diff.c in cgit 0.9.0.2 and earlier allows remote authenticated users to inject arbitrary web script or HTML via the filename associated with the rename hint.
References
secalert@redhat.comhttp://hjemli.net/git/cgit/commit/?h=stable&id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5Patch
secalert@redhat.comhttp://hjemli.net/pipermail/cgit/2011-July/000276.htmlPatch
secalert@redhat.comhttp://secunia.com/advisories/45358Vendor Advisory
secalert@redhat.comhttp://secunia.com/advisories/45541
secalert@redhat.comhttp://www.openwall.com/lists/oss-security/2011/07/22/2Patch
secalert@redhat.comhttp://www.openwall.com/lists/oss-security/2011/07/22/6
secalert@redhat.comhttp://www.openwall.com/lists/oss-security/2011/07/22/7Patch
secalert@redhat.comhttp://www.openwall.com/lists/oss-security/2011/07/24/3Patch
secalert@redhat.comhttp://www.openwall.com/lists/oss-security/2011/07/24/4Patch
secalert@redhat.comhttp://www.osvdb.org/74050Patch
secalert@redhat.comhttp://www.securityfocus.com/bid/48866
secalert@redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=725042Patch
secalert@redhat.comhttps://exchange.xforce.ibmcloud.com/vulnerabilities/68754
secalert@redhat.comhttps://hermes.opensuse.org/messages/10998459
af854a3a-2127-422b-91ae-364da2661108http://hjemli.net/git/cgit/commit/?h=stable&id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5Patch
af854a3a-2127-422b-91ae-364da2661108http://hjemli.net/pipermail/cgit/2011-July/000276.htmlPatch
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/45358Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/45541
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2011/07/22/2Patch
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2011/07/22/6
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2011/07/22/7Patch
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2011/07/24/3Patch
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2011/07/24/4Patch
af854a3a-2127-422b-91ae-364da2661108http://www.osvdb.org/74050Patch
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/48866
af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=725042Patch
af854a3a-2127-422b-91ae-364da2661108https://exchange.xforce.ibmcloud.com/vulnerabilities/68754
af854a3a-2127-422b-91ae-364da2661108https://hermes.opensuse.org/messages/10998459



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "59D7FA07-D0C9-4D09-80CA-6DAF7A977132",
              "versionEndIncluding": "0.9.0.2",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "EED1FFDD-4C04-415A-A6D6-8DAB2998A8AA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "23F704C1-4129-47D9-B844-B3E20696E36D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "434FAA85-D943-4E63-85C9-F0883CEB53E1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "6DF1115A-A47F-4A4F-8AED-F24302A0DF4C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "374B218F-A4D0-4704-A2A8-74F8A7D5759A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "ED123524-4D31-469E-9B2A-504033ACFE46",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "EE0D9623-3291-4DD1-9966-2307F7BB20B1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "ED6865FF-0102-46FA-8A2A-23FAC59CF1FB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "F8F178CE-4D7E-41CE-AA63-78E516063A7D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "1FE3007F-6BDA-42FC-84E0-19E271E6577D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "69087A94-2220-4F10-ACF4-337541661A1A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "7B0D564C-2F88-42E9-AF86-821DB37C8FD6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "3BD8D272-6729-4AEC-8058-6C6644165947",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "73FBD314-B417-4E83-827D-CC91861629B6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "9AE4ADD1-765B-4E83-A918-CE0DC1B30948",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "79FE9604-158B-4272-8DD2-A43CEC9885BB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "545A1C08-F649-4226-852F-7AC7FFCA41ED",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "783F5116-FD04-4D42-8EAA-C1CEF41A0C00",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "6B6063B5-BA90-407C-9068-A853E27C76BB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "4AD828C7-AC59-412C-A560-D5B944D357A5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "59943A07-8B85-4EB5-B8E7-E4587D472D31",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "AF02DFB4-BA4D-4A36-9F0A-E0D04727A206",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "1D953ABA-EE07-4796-9B3A-516C3B8E198D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "F1211001-96A0-4686-A718-E1F6FE0FB520",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.9:*:*:*:*:*:*:*",
              "matchCriteriaId": "8BFB6787-0F9E-45C1-B967-0E2A7CEC1F14",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.9.0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "1C6EE19E-B467-430F-A53E-FD4A1D3ED753",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Cross-site scripting (XSS) vulnerability in the print_fileinfo function in ui-diff.c in cgit 0.9.0.2 and earlier allows remote authenticated users to inject arbitrary web script or HTML via the filename associated with the rename hint."
    },
    {
      "lang": "es",
      "value": "Vulnerabilidad de secuencias de comandos en sitios cruzados (XSS) en la funci\u00f3n print_fileinfo de ui-diff.c de cgit v0.9.0.2 y anteriores, permite a usuarios autenticados en remoto inyectar secuencias de comandos web o HTML de su elecci\u00f3n a trav\u00e9s del nombre de fichero asociado con el campo de renombrar."
    }
  ],
  "id": "CVE-2011-2711",
  "lastModified": "2025-04-11T00:51:21.963",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "LOW",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "SINGLE",
          "availabilityImpact": "NONE",
          "baseScore": 3.5,
          "confidentialityImpact": "NONE",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N",
          "version": "2.0"
        },
        "exploitabilityScore": 6.8,
        "impactScore": 2.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": true
      }
    ]
  },
  "published": "2011-08-03T00:55:01.660",
  "references": [
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://hjemli.net/git/cgit/commit/?h=stable\u0026id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://hjemli.net/pipermail/cgit/2011-July/000276.html"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/45358"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://secunia.com/advisories/45541"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/22/2"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.openwall.com/lists/oss-security/2011/07/22/6"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/22/7"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/24/3"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/24/4"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://www.osvdb.org/74050"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.securityfocus.com/bid/48866"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=725042"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/68754"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://hermes.opensuse.org/messages/10998459"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://hjemli.net/git/cgit/commit/?h=stable\u0026id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://hjemli.net/pipermail/cgit/2011-July/000276.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/45358"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/45541"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/22/2"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2011/07/22/6"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/22/7"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/24/3"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/24/4"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://www.osvdb.org/74050"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/48866"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=725042"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/68754"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://hermes.opensuse.org/messages/10998459"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}

Vulnerability from fkie_nvd
Published
2012-11-11 13:00
Modified
2025-04-11 00:51
Severity ?
Summary
Argument injection vulnerability in syntax-highlighting.sh in cgit 9.0.3 and earlier allows remote authenticated users with permissions to add files to execute arbitrary commands via the --plug-in argument to the highlight command.
References
secalert@redhat.comhttp://git.zx2c4.com/cgit/commit/?id=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd
secalert@redhat.comhttp://lists.opensuse.org/opensuse-security-announce/2012-10/msg00021.html
secalert@redhat.comhttp://lists.opensuse.org/opensuse-security-announce/2012-10/msg00022.html
secalert@redhat.comhttp://lists.opensuse.org/opensuse-security-announce/2012-11/msg00003.html
secalert@redhat.comhttp://lists.opensuse.org/opensuse-security-announce/2012-11/msg00004.html
secalert@redhat.comhttp://secunia.com/advisories/50734Vendor Advisory
secalert@redhat.comhttp://secunia.com/advisories/51167Vendor Advisory
secalert@redhat.comhttp://secunia.com/advisories/51222
secalert@redhat.comhttp://www.openwall.com/lists/oss-security/2012/10/28/1
secalert@redhat.comhttp://www.openwall.com/lists/oss-security/2012/10/28/2
secalert@redhat.comhttp://www.securityfocus.com/bid/56315
secalert@redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=870713
secalert@redhat.comhttps://exchange.xforce.ibmcloud.com/vulnerabilities/79665
af854a3a-2127-422b-91ae-364da2661108http://git.zx2c4.com/cgit/commit/?id=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd
af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00021.html
af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00022.html
af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00003.html
af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00004.html
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/50734Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/51167Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/51222
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2012/10/28/1
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2012/10/28/2
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/56315
af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=870713
af854a3a-2127-422b-91ae-364da2661108https://exchange.xforce.ibmcloud.com/vulnerabilities/79665



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "7A82FD8B-D714-411C-9DF4-A9BCE9465E6B",
              "versionEndIncluding": "0.9.0.3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "EED1FFDD-4C04-415A-A6D6-8DAB2998A8AA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "23F704C1-4129-47D9-B844-B3E20696E36D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "434FAA85-D943-4E63-85C9-F0883CEB53E1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "6DF1115A-A47F-4A4F-8AED-F24302A0DF4C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "374B218F-A4D0-4704-A2A8-74F8A7D5759A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "ED123524-4D31-469E-9B2A-504033ACFE46",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "EE0D9623-3291-4DD1-9966-2307F7BB20B1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "ED6865FF-0102-46FA-8A2A-23FAC59CF1FB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "F8F178CE-4D7E-41CE-AA63-78E516063A7D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "1FE3007F-6BDA-42FC-84E0-19E271E6577D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "69087A94-2220-4F10-ACF4-337541661A1A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "7B0D564C-2F88-42E9-AF86-821DB37C8FD6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "3BD8D272-6729-4AEC-8058-6C6644165947",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "73FBD314-B417-4E83-827D-CC91861629B6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "9AE4ADD1-765B-4E83-A918-CE0DC1B30948",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "79FE9604-158B-4272-8DD2-A43CEC9885BB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "545A1C08-F649-4226-852F-7AC7FFCA41ED",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "783F5116-FD04-4D42-8EAA-C1CEF41A0C00",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "6B6063B5-BA90-407C-9068-A853E27C76BB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "4AD828C7-AC59-412C-A560-D5B944D357A5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "59943A07-8B85-4EB5-B8E7-E4587D472D31",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "AF02DFB4-BA4D-4A36-9F0A-E0D04727A206",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "1D953ABA-EE07-4796-9B3A-516C3B8E198D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "F1211001-96A0-4686-A718-E1F6FE0FB520",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.9:*:*:*:*:*:*:*",
              "matchCriteriaId": "8BFB6787-0F9E-45C1-B967-0E2A7CEC1F14",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.9.0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "1C6EE19E-B467-430F-A53E-FD4A1D3ED753",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.9.0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "9C8A8CDF-4730-49E5-9181-C462E9EF2CE9",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Argument injection vulnerability in syntax-highlighting.sh in cgit 9.0.3 and earlier allows remote authenticated users with permissions to add files to execute arbitrary commands via the --plug-in argument to the highlight command."
    },
    {
      "lang": "es",
      "value": "Vulnerabilidad de inyecci\u00f3n de argumentos en sintax-highlighting.sh en cgit v9.0.3 y anteriores permite a usuarios remotos autenticados con los permisos para a\u00f1adir ficheros ejecutar c\u00f3digo arbitrario a trav\u00e9s del argumento --plug-in del comando resaltado."
    }
  ],
  "evaluatorComment": "Per http://cwe.mitre.org/data/definitions/88.html\u0027CWE-88: Argument Injection or Modification\u0027",
  "id": "CVE-2012-4548",
  "lastModified": "2025-04-11T00:51:21.963",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "SINGLE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 6.0,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:M/Au:S/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 6.8,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2012-11-11T13:00:54.727",
  "references": [
    {
      "source": "secalert@redhat.com",
      "url": "http://git.zx2c4.com/cgit/commit/?id=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00021.html"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00022.html"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00003.html"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00004.html"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/50734"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/51167"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://secunia.com/advisories/51222"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.openwall.com/lists/oss-security/2012/10/28/1"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.openwall.com/lists/oss-security/2012/10/28/2"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.securityfocus.com/bid/56315"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=870713"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/79665"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://git.zx2c4.com/cgit/commit/?id=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00021.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00022.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00003.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00004.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/50734"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/51167"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/51222"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2012/10/28/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2012/10/28/2"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/56315"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=870713"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/79665"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "NVD-CWE-Other"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}

Vulnerability from fkie_nvd
Published
2013-08-09 20:56
Modified
2025-04-11 00:51
Severity ?
Summary
Directory traversal vulnerability in the cgit_parse_readme function in ui-summary.c in cgit before 0.9.2, when a readme file is set to a filesystem path, allows remote attackers to read arbitrary files via a .. (dot dot) in the url parameter.



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:jason_a_donenfeld:cgit:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "5B46F087-57C6-4299-B550-785113F728FC",
              "versionEndIncluding": "0.9.1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "EED1FFDD-4C04-415A-A6D6-8DAB2998A8AA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "23F704C1-4129-47D9-B844-B3E20696E36D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "434FAA85-D943-4E63-85C9-F0883CEB53E1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "6DF1115A-A47F-4A4F-8AED-F24302A0DF4C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "374B218F-A4D0-4704-A2A8-74F8A7D5759A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "ED123524-4D31-469E-9B2A-504033ACFE46",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "EE0D9623-3291-4DD1-9966-2307F7BB20B1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "ED6865FF-0102-46FA-8A2A-23FAC59CF1FB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.6.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "F8F178CE-4D7E-41CE-AA63-78E516063A7D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "1FE3007F-6BDA-42FC-84E0-19E271E6577D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "69087A94-2220-4F10-ACF4-337541661A1A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.7.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "7B0D564C-2F88-42E9-AF86-821DB37C8FD6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "3BD8D272-6729-4AEC-8058-6C6644165947",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "73FBD314-B417-4E83-827D-CC91861629B6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "9AE4ADD1-765B-4E83-A918-CE0DC1B30948",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "79FE9604-158B-4272-8DD2-A43CEC9885BB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "545A1C08-F649-4226-852F-7AC7FFCA41ED",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "783F5116-FD04-4D42-8EAA-C1CEF41A0C00",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "6B6063B5-BA90-407C-9068-A853E27C76BB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "4AD828C7-AC59-412C-A560-D5B944D357A5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "59943A07-8B85-4EB5-B8E7-E4587D472D31",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "AF02DFB4-BA4D-4A36-9F0A-E0D04727A206",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "1D953ABA-EE07-4796-9B3A-516C3B8E198D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.8.3.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "F1211001-96A0-4686-A718-E1F6FE0FB520",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.9:*:*:*:*:*:*:*",
              "matchCriteriaId": "8BFB6787-0F9E-45C1-B967-0E2A7CEC1F14",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.9.0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "1C6EE19E-B467-430F-A53E-FD4A1D3ED753",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.9.0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "9C8A8CDF-4730-49E5-9181-C462E9EF2CE9",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:lars_hjemli:cgit:0.9.0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "D8A16500-AB01-4142-A701-F94EDE1EA505",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Directory traversal vulnerability in the cgit_parse_readme function in ui-summary.c in cgit before 0.9.2, when a readme file is set to a filesystem path, allows remote attackers to read arbitrary files via a .. (dot dot) in the url parameter."
    },
    {
      "lang": "es",
      "value": "Vulnerabilidad de salto de directorio en la funci\u00f3n cgit_parse_readme en ui-summary.c en cgit anterior a v0.9.2, cuando un archivo readme se establece en  una ruta del sistema de archivos, permite a atacantes remotos leer ficheros a trav\u00e9s de .. (punto punto) en el par\u00e1metro URL."
    }
  ],
  "id": "CVE-2013-2117",
  "lastModified": "2025-04-11T00:51:21.963",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "NONE",
          "baseScore": 4.3,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "NONE",
          "vectorString": "AV:N/AC:M/Au:N/C:P/I:N/A:N",
          "version": "2.0"
        },
        "exploitabilityScore": 8.6,
        "impactScore": 2.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2013-08-09T20:56:07.710",
  "references": [
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://git.zx2c4.com/cgit/commit/?h=wip\u0026id=babf94e04e74123eb658a823213c062663cdadd6"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://lists.opensuse.org/opensuse-updates/2013-07/msg00061.html"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://lists.opensuse.org/opensuse-updates/2013-08/msg00012.html"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://lists.zx2c4.com/pipermail/cgit/2013-May/001394.html"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/54186"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.openwall.com/lists/oss-security/2013/05/27/3"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://git.zx2c4.com/cgit/commit/?h=wip\u0026id=babf94e04e74123eb658a823213c062663cdadd6"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.opensuse.org/opensuse-updates/2013-07/msg00061.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.opensuse.org/opensuse-updates/2013-08/msg00012.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.zx2c4.com/pipermail/cgit/2013-May/001394.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/54186"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2013/05/27/3"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}