json gem for Ruby security bypass
|json-ruby-security-bypass (82010)||Medium Risk|
The json gem for Ruby could allow a remote attacker to bypass security restrictions, caused by the improper validation of input by the gem when parsing JSON documents. An attacker could exploit this vulnerability to bypass restrictions and execute SQL code on the system or cause a denial of service.
Upgrade to the latest version of json gem for Ruby (1.7.7, 1.6.8, or 1.5.5 or later), available from the RubyGems Web site. See References.
For other distributions:
Apply the appropriate update for your system. See References.
- Apple Web site: About the security content of OS X Server v3.0.
- Google Groups: Ruby on Rails: Rails 3.2.12, 3.1.11, and 2.3.17 have been released!.
- RubyGems Web site: json gem for Ruby.
- Thomas Hollstegge: Ruby on Rails vulnerable to mass assignment and SQL injection.
- BID-57899: JSON Denial of Service and Security Bypass Vulnerabilities
- CVE-2013-0269: The JSON gem before 1.5.5, 1.6.x before 1.6.8, and 1.7.x before 1.7.7 for Ruby allows remote attackers to cause a denial of service (resource consumption) or bypass the mass assignment protection mechanism via a crafted JSON document that triggers the creation of arbitrary Ruby symbols or certain internal objects, as demonstrated by conducting a SQL injection attack against Ruby on Rails, aka Unsafe Object Creation Vulnerability.
- RHSA-2013-0686: Moderate: Subscription Asset Manager 1.2.1 update
- RHSA-2013-0701: Moderate: ruby193-ruby, rubygem-json and rubygem-rdoc security update
- SA52075: Ruby json Gem Document Parsing Vulnerability
- Apple Mac OS X Mountain Lion 10.8
- Apple Mac OS X Mountain Lion 10.8.1
- Apple Mac OS X Mountain Lion 10.8.2
- Apple Mac OS X Mountain Lion 10.8.3
- Apple Mac OS X Mountain Lion 10.8.4
- Apple Mac OS X Mountain Lion 10.8.5
- RubyGems json gem for Ruby 1.5.4
- RubyGems json gem for Ruby 1.6.7
- RubyGems json gem for Ruby 1.7.6
Feb 11, 2013
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.