Adding instructions on how to update Git to 1.9.5 for Windows, closing a security hole. #444
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
On December 18, 2014, it was announced that Git clients on Windows and OS X suffered from a security vulnerability that allowed for the possibility of remote code execution. More details here.
The problem is that RailsInstaller is seldom updated. The current version still ships with version 1.9.4 of Git. (1.9.5 is the updated version without the vulnerability.)
I've reworked the documentation for the installfest adding instructions on how to update Git from 1.9.4 to 1.9.5. I chose to install 1.9.5 over 1.9.4. The reasoning was that installing RailsInstaller without Git causes some scripts to fail until Git is then installed. Inserting a step to overwrite the old version of Git in C:\RailsInstaller\Git seemed to be the least complicated way to get it up to date, requiring the fewest number of additional steps as well as the least complex steps possible.
I tested this solution using a Windows 8 VM provided by Microsoft. The steps for Windows 7 should be the same.
All rake tests pass, and I also edited a line in the updating Rubygems step for clarity.