Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 524
Alerts This Week
Warning Icon 1 524

Gentoo: GLSA-201401-06 High: Git Privilege Escalation Attack Advisory

gentoo
Calendar Grey January 10, 2014
Scroller Gentoo
Enhance security by addressing the library's memory corruption in the Fedora advisory FED-2021-12. Update today!
A stack-based buffer overflow in Git might allow a local attacker to gain escalated privileges.

Summary

Git contains a stack-based buffer overflow in the is_git_directory function in setup.c.

Resolution

All Git users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=dev-vcs/git-1.7.2.2"
NOTE: This is a legacy GLSA. Updates for all affected architectures are available since September 11, 2010. It is likely that your system is already no longer affected by this issue.

References

[ 1 ] CVE-2010-2542 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2542

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201401-06
style>.gentoo_availability{display:block;}

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity: High
Title: Git: Privilege escalation
Date: January 10, 2014
Bugs: #335891
ID: 201401-06

Synopsis

A stack-based buffer overflow in Git might allow a local attacker to gain escalated privileges.

Background

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 dev-vcs/git < 1.7.2.2 >= 1.7.2.2

Impact

===== A local attacker could gain escalated privileges via a specially crafted git repository.

Workaround

There is no known workaround at this time.