Security mailing lists by PureSourceCode

CVE-2010-2542

HIGH 7.5CVSS 2.0

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.

Published
11 Aug 2010
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-787
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD git-scm git
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
< 1.7.2.1 1.7.2.1

References

History

  • 25 Nov 2026 20:16 UTC · NVD: first stored (published 11 Aug 2010)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.