News for hackers. Stuff that matters.
Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by sandofsky on Monday January 28, 2013 @05:12PM (#5131022)
It isn't good. Similar projects with a similar user base, like Django, don't have vulnerabilities of this severity with this frequency.

This points to a seriously broken process.

Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by heimidal on Monday January 28, 2013 @06:10PM (#5131344)
The vulnerabilities here only affect versions that have been maintenance-only for almost eighteen months. The last two major versions of Rails (since 3.1, released in August, 2011) are unaffected.

In my opinion, the fact that someone bothered to comb through 2.3.x and 3.0.x to find exploits similar to the last one points to a very good process, not a broken one.

Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by PetrolMan on Monday January 28, 2013 @05:17PM (#5131052)
It isn't a bad thing necessarily. Just because the vulnerabilities haven't popped up in other frameworks doesn't mean they aren't there.
Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by sandofsky on Monday January 28, 2013 @05:23PM (#5131088)
That's creationist logic.
Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by navyrain on Monday January 28, 2013 @05:36PM (#5131175)
Hardly the same. Lets not kid ourselves into thinking any of the popular software we use is bug-free, which is nigh impossible feat for any large codebase. If this rails bug had not been discovered, it would still be there.
Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by sandofsky on Monday January 28, 2013 @05:58PM (#5131282)
Who said software is bug free?

The issue is that similar projects, with similar success, with a similar number of developers looking at them, have fewer severe vulnerabilities.

The simplest explanation is that one project has more vulnerabilities lying dormant.

Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by btilly on Monday January 28, 2013 @05:44PM (#5131220)
No, it is not.

When a particular bit of code gets audited, you tend to find a bunch of holes. And any time you find a conceptual mistake that was made once in code, odds are that a careful audit will find it repeated.

Everyone thinks that they are different, until it happens to them.

Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by FuzzyDunlop on Monday January 28, 2013 @06:04PM (#5131311)
Are you basing this on how often the vulnerabilities get reported and upvoted on HN?

http://www.hnsearch.com/search#request/submissions&q=dja...

Django has had its fair share of patches. This is no reflection on the quality of the project, as it shouldn't be for any sufficiently complicated framework (like Rails).

I also think the vulnerabilities are similar enough to suggest that the first one gave valid reason to ensure the same issue doesn't occur elsewhere. Rather than dusting these issues under the rug or silently fixing them, they're being responsibly reported with patches and updates provided at the same time.

This doesn't seem like broken process to me.

Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by sandofsky on Monday January 28, 2013 @06:16PM (#5131373)
No. I'm basing it on this database:

http://www.cvedetails.com/vulnerability-list/vendor_id-12043...

http://www.cvedetails.com/vulnerability-list/vendor_id-10199...

Django has 16 vulnerabilities of the DoS, XSS, and CSRF variety.

Rails has 37. In addition to DoS, XSS, and CSRF, it has SQL injection and code execution.

That we keep seeing similar vulnerabilities suggests the problem is systemic.

Giving them praise for not sweeping these under the rug is giving someone praise for not being a sociopath.

Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by yannski on Monday January 28, 2013 @06:58PM (#5131531)
So what does that mean ? That Rails is twice as popular as Django ?
Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by techpeace on Monday January 28, 2013 @05:58PM (#5131284)
No, it points to a project with a larger user base and much greater degree of scrutiny. No web framework is entirely secure - some have just had more of their insecurities made public.
Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by eric970 on Monday January 28, 2013 @06:10PM (#5131341)
+1. Agreed.
Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by postmodern_mod3 on Monday January 28, 2013 @07:42PM (#5131678)
> Similar projects with a similar user base, like Django, don't have vulnerabilities of this severity with this frequency.

Not all Django vulnerabilities have been discovered or reported yet. Just because no one has found or reported a vulnerability, doesn't mean that it it doesn't exist.