Bug 618108 (CVE-2010-2542)
Summary: | CVE-2010-2542 Git: Arbitrary code execution via specially-crafted .git file | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Jan Lieskovsky <jlieskov> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | atkac, bkearney, chrisw, jwboyer, npajkovs, tmz, vdanen |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-01-10 12:02:40 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 617422, 618112, 637953 | ||
Bug Blocks: |
Description
Jan Lieskovsky
2010-07-26 07:03:02 UTC
This issue has been addressed in the current versions of the git package, present in Fedora -testing repository (git-1.7.2-1.fc1{2,3,4}). Created cgit tracking bugs for this issue Affects: fedora-all [bug 637953] This affects the current version of cgit as found in Fedora. Upstream has released a new version of cgit (0.8.3.4) that includes git 1.7.3 to correct this issue: http://hjemli.net/git/cgit/commit/?h=v0.8.3.4&id=82a883ede7e47616aba041a5eb36e08666ef9177 (I'm not sure if it's possible to make cgit use the system git, but it should probably be explored). (In reply to comment #4) > This affects the current version of cgit as found in Fedora. Upstream has > released a new version of cgit (0.8.3.4) that includes git 1.7.3 to correct > this issue: > > http://hjemli.net/git/cgit/commit/?h=v0.8.3.4&id=82a883ede7e47616aba041a5eb36e08666ef9177 I saw the cgit announcement earlier. I will update cgit tonight or tomorrow morning. > (I'm not sure if it's possible to make cgit use the system git, but it should > probably be explored). This was discussed prior to introducing cgit in Fedora and it's not something we can do. Git doesn't provide any library interface. Cgit would have to be incorporated into git or git would have to grow a stable library interface. Neither of which seem imminent, unfortunately. Eventually, libgit2 may reach a point where it can be used, but that also isn't near-term. I applied the 2 line patch to git rather that bump cgit from 0.8.2.1 to 0.8.3.4 to fix this issue in F-1{2..4} and EL-{5,6}. That way I can update to 0.8.3.4 and let it receive some time in updates-testing without keeping users vulnerable. Thanks for that, Todd. And for the explanation as well. Makes sense, but we'll have to keep this in mind for future git issues that come up as well. Yes, indeed. It's certainly a less than ideal situation, for exactly this sort of issue. And thank you for helping keep us more secure. |