Re:What The Rails Security Issue Means For Your Startup
by purephase on Thursday January 31, 2013 @11:27AM
(#5145709)
Pretty good breakdown going on here [1]. To be honest, while the chosen tool to provide the update is odd, it is one of the best post-mordems that I've seen and applaud the volunteers for taking it so seriously.
1. I wouldn't say so. Not until they're all the way through.
2. Not at the moment, but general guidance is that we should all have local gem repos that we maintain ourselves and only rely on external sources when needed. It is something I'm going to look into ASAP.
[1] https://docs.google.com/document/d/10tuM51VKRcSHJtUZotraMlrM...
Re:What The Rails Security Issue Means For Your Startup
by josephlord on Thursday January 31, 2013 @02:17PM
(#5146759)
It is extensive and up to date but it is lacking a brief status of the current situation and whether the site is safe to download from. The answer is currently "no", 90% safe is unsafe.
It's a shame that they seem to have put the service back up in an unsafe mode, I would have hoped that they could have quarantined the unverified Gems.
Edit: Looking at the status page the API is down so it can't be accessed from Bundler so they are doing it the good/safe way.
Re:What The Rails Security Issue Means For Your Startup
by excid3 on Thursday January 31, 2013 @11:28AM
(#5145720)
Regarding #2, you could use gems from the github repositories (just specify the tag) instead of relying on gems hosted on RubyGems.
Obviously then it is up to you to verify everything, including that you're using the right versions and what not.
Re:What The Rails Security Issue Means For Your Startup
by purephase on Thursday January 31, 2013 @11:35AM
(#5145774)
Probably not safe enough as most of them probably list external dependencies that will fall back to rubygems.
Re:What The Rails Security Issue Means For Your Startup
by boonedocks on Thursday January 31, 2013 @12:22PM
(#5146035)
I'm not sure of the best way to go about it, but if all the dependency gems are also on Github, a script might be able to pull the SHAs from the right version of each dependency and return the proper entries for a Gemfile.
Re:What The Rails Security Issue Means For Your Startup
by purephase on Thursday January 31, 2013 @01:20PM
(#5146395)
gemspecs/Gemfiles rarely list the gh repo, so you'll likely have to get it from a source which is probably rubygems. If it's compromised, they could update the gh repo location as well.
Re:What The Rails Security Issue Means For Your Startup
by boonedocks on Thursday January 31, 2013 @01:51PM
(#5146581)
I guess, at least for the most common gems, there could be an independent list which maps gem names to their Github repos. Of course, that list would have to be trustworthy. It would be nice to solve that mapping problem anyway, because sometimes it's not entirely clear which Github repo is the official source for a project.
1) Is it currently safe to "bundle update" and be confident that only verified Gems will be provided? I don't mind errors on any unverified ones but don't want to download them.
2) Is there a drop in replacement for RubyGems? The problems that have occurred this month would have been multiplied if RubyGems was unavailable at the time Rails had an apocalyptic bug.