CVE-2010-2542

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*

History

13 Feb 2023, 03:17

Type Values Removed Values Added
References
  • {'url': 'http://git.kernel.org/?p=git/git.git;a=commit;h=3c9d0414ed2db0167e6c828b547be8fc9f88fccc', 'name': 'http://git.kernel.org/?p=git/git.git;a=commit;h=3c9d0414ed2db0167e6c828b547be8fc9f88fccc', 'tags': ['Third Party Advisory'], 'refsource': 'CONFIRM'}
  • (MISC) http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc -

Information

Published : 2010-08-11 18:47

Updated : 2023-12-10 11:03


NVD link : CVE-2010-2542

Mitre link : CVE-2010-2542

CVE.ORG link : CVE-2010-2542


JSON object : View

Products Affected

git-scm

  • git
CWE
CWE-787

Out-of-bounds Write