VULNERABILITY INTELLIGENCE
CVE-2010-2542
CVSS score7.5 HIGH
EPSS probability2.51%
CISA KEVNot currently listed
Published2010-08-11
Last modified2026-06-16
CVSS vectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Description
Stack-based buffer overflow in the is_git_directory function in setup.c in Git before 1.7.2.1 allows local users to gain privileges via a long gitdir: field in a .git file in a working copy.
Weakness classification
- CWE-787: Out-of-bounds Write
Primary references
- secalert@redhat.com
- secalert@redhat.com — Third Party Advisory
- secalert@redhat.com — Third Party Advisory
- secalert@redhat.com — Broken Link
- secalert@redhat.com — Mailing List, Third Party Advisory
- secalert@redhat.com — Mailing List, Third Party Advisory
- secalert@redhat.com — Third Party Advisory, VDB Entry
- secalert@redhat.com — Permissions Required
- secalert@redhat.com — Issue Tracking, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory