Earlier quoted context omitted.
Semi related CVEs aside (CVE-2013-0333 and CVE-2013-0156): YAML's security problems have been known for years by the community. YAML aside, don't trust user input. This is egg on rubygems's face and the ruby community. I don't think http://rubycentral.org/ has full-time staff for rubygems either. Gems, specifically should be signed. They are not, this type of exploit will continue to happen, hell, remember when githu…
The GIL is not really a problem. There are far more pressing issues with MRI, and many core developers are working hard to solve these.
Ruby deploys temporarily disabled
91–98 of 98 posts
Re: Ruby deploys temporarily disabled
#92Earlier quoted context omitted.
Agreed. I was surprised when I received an email from Heroku letting me know that a few of my apps needed to be updated after the Rails vulnerabilities were uncovered. They also named the apps that needed to be updated, which makes my job that much simpler.
It was a nice service with the mail. But it was sent one day after the exploit was out in the open, which is too late, but better than nothing.
Re: Ruby deploys temporarily disabled
#93Earlier quoted context omitted.
If you use bundler, "bundle package" can help reduce or eliminate your dependency on external gem repositories. At least for deployments. I generally try to follow the "vendor everything" philosophy: http://ryan.mcgeary.org/2011/02/09/vendor-everything-still-a...
I couldn't get through this whole article due to the dude in the corner staring at me... :-/
document.getElementById('mugshot').remove()Re: Ruby deploys temporarily disabled
#94Earlier quoted context omitted.
You still wouldn't say "an why", as "w" isn't a vowel. If Anything, I can understand "an yamel" as more legitimate (as "y" is at least sort of a vowel).
No, "an YAML" is grammatically incorrect [0]. It's "a YAML". What's more annoying: the odd (and wrong) belief that "An green apple" is grammatically correct. [1] [0] http://english.stackexchange.com/questions/1016/do-you-use-a... [1] http://english.stackexchange.com/questions/152/when-should-i...
Re: Ruby deploys temporarily disabled
#95Earlier quoted context omitted.
Semi related CVEs aside (CVE-2013-0333 and CVE-2013-0156): YAML's security problems have been known for years by the community. YAML aside, don't trust user input. This is egg on rubygems's face and the ruby community. I don't think http://rubycentral.org/ has full-time staff for rubygems either. Gems, specifically should be signed. They are not, this type of exploit will continue to happen, hell, remember when githu…
How would signing gems have prevented this situation?
(This isn't a new technique -- for example, .deb packages distributed through APT are usually signed with gpg -- IIRC, this was a measure introduced years ago in response to a Debian mirror being compromised.)
Re: Ruby deploys temporarily disabled
#96Earlier quoted context omitted.
How would signing gems have prevented this situation?
It would allow you to verify the authenticity of the gems, even if the server had been compromised. (This isn't a new technique -- for example, .deb packages distributed through APT are usually signed with gpg -- IIRC, this was a measure introduced years ago in response to a Debian mirror being compromised.)
Debian has (had?) a high barrier to entry to become a developer, and every developer signs their packages. The release binaries are arranged on a secured box and the release key itself is held by a limited set of people.
In short, the signatures work because of the human element and organizational structure of Debian.
Rubygems accepts submissions from the general public.
So, again, I don't see how it would have helped.
Re: Ruby deploys temporarily disabled
#97Earlier quoted context omitted.
Just to reiterate the parent: This is only valuable if we trust the signatures - which I wouldn't if they were, say, just held along side the "hacked" gems server.
I'm talking g about developers signing the archive on their local machine. Private key would be stored on developers laptop
Re: Ruby deploys temporarily disabled
#98When did the compromise happen? Was it compromised yesterday or only found out yesterday?
I have default gems installed on my system and haven't updated anything since the big Rails security issue that was reported a bit ago.
It'd be great to get some guidance on what to do.