Vulnerabilites related to jason_a_donenfeld - cgit
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"
    }
  ]
}

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"
}