Earlier quoted context omitted.
This is in the linked post. Do this to disable it: sudo chmod -x /Applications/Xcode.app/Contents/Developer/usr/bin/git
chmod: /Applications/Xcode.app/Contents/Developer/usr/bin/git: No such file or directory I don't have Xcode installed, do I have to install it back to do this?
Remote code execution, git, and OS X
41–50 of 385 posts
Re: Remote code execution, git, and OS X
#42Earlier quoted context omitted.
This is in the linked post. Do this to disable it: sudo chmod -x /Applications/Xcode.app/Contents/Developer/usr/bin/git
chmod: /Applications/Xcode.app/Contents/Developer/usr/bin/git: No such file or directory I don't have Xcode installed, do I have to install it back to do this?
IIRC, you might have a /usr/bin/git executable but that's not actually git, all it does is shows a GUI that prompts you to install XCode
Re: Remote code execution, git, and OS X
#43Re: Remote code execution, git, and OS X
#44Earlier quoted context omitted.
Yes, indeed, but Mac OS X users who use Homebrew are a subset of all Mac OS X users. The problem is in the default software. Apple's update model isn't good for this type of software, so the fact that it is possible for a user to install secure versions from Homebrew (or compile their own) doesn't matter.
Xcode is distributed and released over the AppStore and can be rev-ed at any frequency, independently of the OS; Apple's update model not does prevent an expedient update. Perhaps the main cause for delay is the associated QA efforts to make sure that other components in the stack which depend on git don't break in the case that git has broken binary compatibility (i.e. changed its public interface).
It is too late for there to be an expedient update from Apple. The vulnerability was disclosed to oss-security over a month ago, on March 15[0]. SUSE had a patch out the next day[1]. By March 24, Debian, Ubuntu, Red Hat, CentOS and Oracle had all issued fixes.[2]
[0]: http://www.openwall.com/lists/oss-security/2016/03/15/5
[1]: http://lists.opensuse.org/opensuse-security-announce/2016-03...
Re: Remote code execution, git, and OS X
#45Sensationalism at it's finest. Just use the homebrew version, it will eventually get fixed in OSX proper.
Re: Remote code execution, git, and OS X
#46Earlier quoted context omitted.
Except that git is used specifically by users who are downloading and compiling software.
And at this point the first instruction for any OSX user who downloads and compiles anything is "Install Homebrew"
Re: Remote code execution, git, and OS X
#47Re: Remote code execution, git, and OS X
#48Remember when I said El Capitan? Apple is doing something new which basically keeps you from twiddling certain system-level programs without going to fantastic lengths. Not even root is enough to do it. Can someone explain it to me?
Re: Remote code execution, git, and OS X
#49Earlier quoted context omitted.
chmod: /Applications/Xcode.app/Contents/Developer/usr/bin/git: No such file or directory I don't have Xcode installed, do I have to install it back to do this?
If you don't have Xcode installed then you don't have git. IIRC, you might have a /usr/bin/git executable but that's not actually git, all it does is shows a GUI that prompts you to install XCode
Yea, /usr/bin/git is still there:
$ git --version
$ git version 2.6.4 (Apple Git-63)
But glad to know it won't do anything.Re: Remote code execution, git, and OS X
#50Why the hate for OS X? Fedora 22 and Fedora 23 have only git 2.4.11 and 2.5.5 in their repositories.
https://packages.debian.org/jessie/git
~ git --version
git version 2.1.4