Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ANN] Security Fix json-1.1.7 for json_pure and json gems

Reply
Thread Tools

[ANN] Security Fix json-1.1.7 for json_pure and json gems

 
 
Florian Frank
Guest
Posts: n/a
 
      06-30-2009
Synopsis
========

Security Fix Release json-1.1.7 for json_pure and json gems.

Description
===========

The JSON:ure:arser contains a vulnerability that may lead to
catastrophic backtracking in one of its regular expressions. This
vulnerability doesn't affect the JSON::Ext:arser or Rail's
Active::Support::JSON. Ruby 1.9.1 (but not Ruby 1.9 trunk) contains
the vulnerable json/pure code as well, so if you want to use the pure
parser you should update to a newer version or use the json gem 1.1.7
version.


Impact
======

An attacker can cause a denial of service attack by passing a
specially designed string into the JSON:ure:arser#parse method.

Affected versions
=================

- versions 1.1.0-1.1.6 of the JSON:ure:arser

Credit
======

Thanks to Bartosz Blimke for reporting this bug.

Changes
=======

2009-06-29 (1.1.7)
* Security Fix for JSON:ure:arser. A specially designed string
could cause catastrophic backtracking in one of the parser's
regular expressions in earlier 1.1.x versions. JSON::Ext:arser
isn't affected by this issue. Thanks to Bartosz Blimke
<> for reporting this problem.
* This release also uses a less strict ruby version requirement for
the creation of the mswin32 native gem.

Download
========

Version 1.1.7 of json and json_pure on
http://rubyforge.org/frs/?group_id=953


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I am facing an issue while decoding json string using json.loads sajuptpm Python 2 12-28-2012 07:16 AM
"JSON for ASP" at json.org Tuğrul Topuz ASP General 1 06-27-2008 11:37 PM
Xah's Edu Corner: The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee Perl Misc 21 03-21-2006 07:02 AM
Xah's Edu Corner: The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee Python 23 03-21-2006 07:02 AM
Xah's Edu Corner: The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee Java 22 03-21-2006 07:02 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57