CVEfocus › CVE database › CVE-2010-2542

CVE-2010-2542

EPSS 2.5% (higher than 85% of CVEs)Published 2010-08-11Updated 2024-08-07Assigner: redhat

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.

What to do

None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 6emacs-gitNot affected
Red Hat Enterprise Linux 6emacs-git-elNot affected
Red Hat Enterprise Linux 6gitNot affected
Red Hat Enterprise Linux 6git-allNot affected
Red Hat Enterprise Linux 6git-cvsNot affected
Red Hat Enterprise Linux 6git-daemonNot affected
Red Hat Enterprise Linux 6git-emailNot affected
Red Hat Enterprise Linux 6git-guiNot affected
Red Hat Enterprise Linux 6git-svnNot affected
Red Hat Enterprise Linux 6gitkNot affected
Red Hat Enterprise Linux 6gitwebNot affected
Red Hat Enterprise Linux 6perl-GitNot affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.