Is it an open source language compiler (/interpreter) that you refer to, or a publicly documented language ?
I suspect the first, as vulnerabilities match better to actual software than language features, but you never know :) (Actually i'm not really sure the latter makes even sense here since, isn't every programming language "exploitable" in at least a thousand ways, thus it were not a story...)
By JoePritchardPosted Tuesday 24th June 2008 07:03 GMT
Yes, every language has errors in it that make it exploitable.
Here, the exploits can be carried out with crafted user input from applications developed with the language.
I've nothing against Ruby on Rails, but I'm sure that were this a similar issue with ASP.NET the pitchforks would already be being sharpened and the brands lit for an ol' style mob storming of the barricades.... :-)
By Anonymous CowardPosted Tuesday 24th June 2008 07:33 GMT
Here's another (welcome) nail in the coffin of the only framework really "worthy" of Web 2.0. And you know what I mean by worthy. It doesn't scale, its developers are all primadonnas who don't understand what "scale" even means, there's no formal language spec, and now this lousy bit of implementation right in the heart of Ruby. I wish the JAVA ticker symbol actually represented Java, cause I'd be buying some right now.
"The flaws were discovered by Drew Yao of Apple Product Security."
Apple has a product security department????
But Java's so fat and bloated man, and Ruby's like cool and stuff #
By Pavel TcholakovPosted Tuesday 24th June 2008 09:11 GMT
One of the major concerns I had about Rails was the utter lack of security support at the framework level. It wouldn't surprise me if most apps out there have tons of holes simply because there is no standard way of securing them. But vulnerabilities at the language level - ouch!
By Anonymous CowardPosted Tuesday 24th June 2008 10:12 GMT
From Fedora's SRPMS dir you can download ruby-1.8.6.230-1.fc10.src.rpm, and the following comment is in ruby.spec:
%changelog
* Tue Jun 24 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-1
- New upstream release.
- Security fixes. (#452295)
- CVE-2008-1891: WEBrick CGI source disclosure.
- CVE-2008-2662: Integer overflow in rb_str_buf_append().
- CVE-2008-2663: Integer overflow in rb_ary_store().
- CVE-2008-2664: Unsafe use of alloca in rb_str_format().
- CVE-2008-2725: Integer overflow in rb_ary_splice().
- CVE-2008-2726: Integer overflow in rb_ary_splice().
- ruby-1.8.6.111-CVE-2007-5162.patch: removed.
- Build ruby-mode package for all archtectures.
You can also read http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6_230/ChangeLog - search for "CVE" and "overflow".
Re: "Rails remains a bad joke" and "But Java's so fat and .. " #
By Francis FishPosted Tuesday 24th June 2008 12:34 GMT
AC: Have you ever used it? I bet you are a Java programmer.
Pavel - do you actually have any evidence? There's a lot of security built in, and, if you follow the standard guidelines, you can avoid stuff like SQL and Javascript injections out of the box, plus Rails 2 has had session management improved to avoid man in the middle attacks.
What are you talking about? Where is your evidence??
Or are you just anti because it's suddenly become cool to be anti?
This doesn't have to mean "the language is licensed under an open source license" - he could simply mean a language commonly employed in open-source projects rather than closed source apps.
By Anonymous CowardPosted Tuesday 24th June 2008 22:41 GMT
Yes, Frank, I've used Ruby. If I remember right, my last job was CTO at a company whose entire product is built on Rails. So, you lose the bet. You can pay up by giving DHH a handjob for me.
By Anonymous CowardPosted Wednesday 25th June 2008 12:28 GMT
Just to make life interesting - the "fixed" 1.8.6p230 introduces bugs which cause Rails 2.0.2 to crash, either with errors like "wrong argument type FalseClass (expected Proc)" or good old-fashioned segfaults.
Comments on: Ruby flaws send security researchers into shock
off topic? #
By F Seiler Posted Tuesday 24th June 2008 04:51 GMT
If this were ASP.NET.... ;-) #
By JoePritchard Posted Tuesday 24th June 2008 07:03 GMT
Rails remains a bad joke #
By Anonymous Coward Posted Tuesday 24th June 2008 07:33 GMT
@F Seiler #
By JonB Posted Tuesday 24th June 2008 08:30 GMT
ummmmmm #
By chuBb. Posted Tuesday 24th June 2008 09:10 GMT
But Java's so fat and bloated man, and Ruby's like cool and stuff #
By Pavel Tcholakov Posted Tuesday 24th June 2008 09:11 GMT
@JonB #
By Magnus Posted Tuesday 24th June 2008 10:07 GMT
More info #
By Anonymous Coward Posted Tuesday 24th June 2008 10:12 GMT
Re: "Rails remains a bad joke" and "But Java's so fat and .. " #
By Francis Fish Posted Tuesday 24th June 2008 12:34 GMT
"open source language" #
By Peyton Posted Tuesday 24th June 2008 13:19 GMT
@ Francis Fish "Have you ever used it?" #
By Anonymous Coward Posted Tuesday 24th June 2008 22:41 GMT
"Ruby is specified by its implementation" #
By nickj Posted Tuesday 24th June 2008 22:58 GMT
Cure worse than the disease? #
By Anonymous Coward Posted Wednesday 25th June 2008 12:28 GMT
Ruby on Ruby #
By Anonymous Coward Posted Wednesday 25th June 2008 17:34 GMT
@ JonB #
By Anonymous Coward Posted Wednesday 25th June 2008 19:31 GMT