Re:Released: Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3
by chubot on Wednesday April 11, 2012 @07:16PM
(#3830122)
Wow this is great. As I remember basically all language implementations like Ruby, PHP, Perl, V8, etc. were vulnerable to this problem. Is Python the first to provide a fix?
[ Parent
| on HN ]
Re:Released: Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3
by haberman on Wednesday April 11, 2012 @07:37PM
(#3830202)
Lua authors think the problem is overstated, but are fixing it anyway for "propaganda purposes": http://article.gmane.org/gmane.comp.lang.lua.general/87667
Re:Released: Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3
by emboss on Wednesday April 11, 2012 @08:58PM
(#3830439)
I find their attitude worrying - how can something be overstated if it's essentially possible for anyone to take down servers as easy as that? It's possible, so it must be fixed, that's what basically any text book on security tries to convey: there's no such thing as "mostly secure" - either it's done right or there's no need to do anything at all. Ignorance won't help in making the web a safer (more secure) place.
Re:Released: Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3
by rplnt on Thursday April 12, 2012 @03:46AM
(#3831441)
It should be fixed in the web frameworks people are using. Some rolled out fixes after the bug disclosure (which came surprisingly late considering it was well known in theory and perl fixed it years ago (in 2003)). The fix is simple -- don't allow users to pass thousands of arguments/options or basically any user input which is later put into dictionary.
Re:Released: Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3
by tedunangst on Wednesday April 11, 2012 @09:45PM
(#3830600)
Yes, that's exactly his point. There are many other issues as well that can DoS the average system.
And they are fixing it, so why say "it must be fixed"?
Re:Released: Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3
by pfraze on Wednesday April 11, 2012 @08:43PM
(#3830397)
That guy is smart
Re:Released: Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3
by LoonyPandora on Wednesday April 11, 2012 @07:25PM
(#3830161)
Perl has not been vulnerable to this kind of attack for 9 years (Perl 5.8.1)
[1] http://perldoc.perl.org/perlsec.html#Algorithmic-Complexity-...
Re:Released: Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3
by axiak on Wednesday April 11, 2012 @07:22PM
(#3830155)
I believe perl fixed this issue years ago (and this recent wave of discovery was based on a paper which was sent to perl maintainers long ago). Ruby fixed this issue in 1.9 before it was a big deal. I am not aware if Ruby 1.8 has backported a fix yet.
1: http://www.cs.rice.edu/~scrosby/hash/CrosbyWallach_UsenixSec...
Re:Released: Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3
by jakubw on Wednesday April 11, 2012 @07:21PM
(#3830148)
Ruby seems to have fixed it in December, PHP in January and Node was trying to get a fix in for v8 but it's been rejected AFAIR and then they patched their version. Perl hasn't actually been vulnerable for a couple of years.