FKIE_CVE-2008-3546

Vulnerability from fkie_nvd - Published: 2008-08-07 21:41 - Updated: 2026-06-16 22:56
Severity
Summary
Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before 1.5.6.4 might allow local users to execute arbitrary code via a PATH whose length is larger than the system's PATH_MAX when running GIT utilities such as git-diff or git-grep.
References
cve@mitre.orghttp://kerneltrap.org/mailarchive/git/2008/7/16/2529284Exploit
cve@mitre.orghttp://secunia.com/advisories/31347Vendor Advisory
cve@mitre.orghttp://secunia.com/advisories/31780
cve@mitre.orghttp://secunia.com/advisories/32029
cve@mitre.orghttp://secunia.com/advisories/32384
cve@mitre.orghttp://secunia.com/advisories/33964
cve@mitre.orghttp://security.gentoo.org/glsa/glsa-200809-16.xml
cve@mitre.orghttp://wiki.rpath.com/Advisories:rPSA-2008-0253
cve@mitre.orghttp://www.debian.org/security/2008/dsa-1637
cve@mitre.orghttp://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.5.6.4.txt
cve@mitre.orghttp://www.securityfocus.com/archive/1/495391/100/0/threaded
cve@mitre.orghttp://www.securityfocus.com/bid/30549
cve@mitre.orghttp://www.securitytracker.com/id?1020627
cve@mitre.orghttp://www.ubuntu.com/usn/USN-723-1
cve@mitre.orghttp://www.vupen.com/english/advisories/2008/2306
cve@mitre.orghttps://exchange.xforce.ibmcloud.com/vulnerabilities/44217
cve@mitre.orghttps://issues.rpath.com/browse/RPL-2707
cve@mitre.orghttps://www.redhat.com/archives/fedora-package-announce/2008-October/msg00729.html
af854a3a-2127-422b-91ae-364da2661108http://kerneltrap.org/mailarchive/git/2008/7/16/2529284Exploit
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/31347Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/31780
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/32029
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/32384
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/33964
af854a3a-2127-422b-91ae-364da2661108http://security.gentoo.org/glsa/glsa-200809-16.xml
af854a3a-2127-422b-91ae-364da2661108http://wiki.rpath.com/Advisories:rPSA-2008-0253
af854a3a-2127-422b-91ae-364da2661108http://www.debian.org/security/2008/dsa-1637
af854a3a-2127-422b-91ae-364da2661108http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.5.6.4.txt
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/archive/1/495391/100/0/threaded
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/30549
af854a3a-2127-422b-91ae-364da2661108http://www.securitytracker.com/id?1020627
af854a3a-2127-422b-91ae-364da2661108http://www.ubuntu.com/usn/USN-723-1
af854a3a-2127-422b-91ae-364da2661108http://www.vupen.com/english/advisories/2008/2306
af854a3a-2127-422b-91ae-364da2661108https://exchange.xforce.ibmcloud.com/vulnerabilities/44217
af854a3a-2127-422b-91ae-364da2661108https://issues.rpath.com/browse/RPL-2707
af854a3a-2127-422b-91ae-364da2661108https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00729.html
Impacted products
Vendor Product Version
linux parduslinux 2007
linux parduslinux 2008
git git 1.5.5.3
git git 1.5.5.3
git git 1.5.5.4
git git 1.5.6.1
git git 1.5.6.2
git git 1.5.6.3

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "cve@mitre.org"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:o:linux:parduslinux:2007:*:*:*:*:*:*:*",
              "matchCriteriaId": "D249E4F6-FD0D-4E0D-9B44-9C92F5554BDB",
              "vulnerable": false
            },
            {
              "criteria": "cpe:2.3:o:linux:parduslinux:2008:*:*:*:*:*:*:*",
              "matchCriteriaId": "D709875E-1618-4078-96A7-2E6B5F5B2623",
              "vulnerable": false
            }
          ],
          "negate": false,
          "operator": "OR"
        },
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:git:git:1.5.5.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "9C0605BA-481D-4E71-8D57-A99F8CDB7492",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:git:git:1.5.5.3:r1:*:*:*:*:*:*",
              "matchCriteriaId": "FF740C26-5EB6-4184-93C3-DAC38F01CE25",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:git:git:1.5.5.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "668F528C-50BC-4944-9DC3-95D0413D2359",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:git:git:1.5.6.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "AECFAEA8-3B87-4BFE-98A3-58F5129D9BCF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:git:git:1.5.6.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "D6228681-1150-4B80-AFB0-451BAEB393A4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:git:git:1.5.6.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "E807BBE3-A2EC-4EA2-8222-7A02D03848D6",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ],
      "operator": "AND"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before 1.5.6.4 might allow local users to execute arbitrary code via a PATH whose length is larger than the system\u0027s PATH_MAX when running GIT utilities such as git-diff or git-grep."
    },
    {
      "lang": "es",
      "value": "Desbordamiento de b\u00fafer basado en pila de las funciones (1) diff_addremove y (2) diff_change en GIT versiones anteriores a la 1.5.6.4, podr\u00eda permitir a usuarios locales ejecutar c\u00f3digo arbitrariamente a trav\u00e9s de un PATH de longitud mayor a PATH_MAX del sistema cuando se ejecutan las utilidades GIT como git-diff o git-grep."
    }
  ],
  "id": "CVE-2008-3546",
  "lastModified": "2026-06-16T22:56:01.597",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "HIGH",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 7.5,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": true,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2008-08-07T21:41:00.000",
  "references": [
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit"
      ],
      "url": "http://kerneltrap.org/mailarchive/git/2008/7/16/2529284"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/31347"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/31780"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/32029"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/32384"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/33964"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://security.gentoo.org/glsa/glsa-200809-16.xml"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://wiki.rpath.com/Advisories:rPSA-2008-0253"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.debian.org/security/2008/dsa-1637"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.5.6.4.txt"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securityfocus.com/archive/1/495391/100/0/threaded"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securityfocus.com/bid/30549"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securitytracker.com/id?1020627"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.ubuntu.com/usn/USN-723-1"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.vupen.com/english/advisories/2008/2306"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/44217"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://issues.rpath.com/browse/RPL-2707"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00729.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit"
      ],
      "url": "http://kerneltrap.org/mailarchive/git/2008/7/16/2529284"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/31347"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/31780"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/32029"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/32384"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/33964"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://security.gentoo.org/glsa/glsa-200809-16.xml"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://wiki.rpath.com/Advisories:rPSA-2008-0253"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.debian.org/security/2008/dsa-1637"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.5.6.4.txt"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/archive/1/495391/100/0/threaded"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/30549"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securitytracker.com/id?1020627"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.ubuntu.com/usn/USN-723-1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.vupen.com/english/advisories/2008/2306"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/44217"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://issues.rpath.com/browse/RPL-2707"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00729.html"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-119"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.