logo
DATABASE RESOURCES PRICING ABOUT US

Ruby -- Denial of Service and Unsafe Object Creation Vulnerability in JSON

Description

Aaron Patterson reports: When parsing certain JSON documents, the JSON gem can be coerced in to creating Ruby symbols in a target system. Since Ruby symbols are not garbage collected, this can result in a denial of service attack. The same technique can be used to create objects in a target system that act like internal objects. These "act alike" objects can be used to bypass certain security mechanisms and can be used as a spring board for SQL injection attacks in Ruby on Rails.


Affected Package


OS OS Version Package Name Package Version
FreeBSD any ruby 1.9,1
FreeBSD any ruby 1.9.3.385,1
FreeBSD any rubygem18-json 1.7.7
FreeBSD any rubygem19-json 1.7.7
FreeBSD any rubygem18-json_pure 1.7.7
FreeBSD any rubygem19-json_pure 1.7.7

Related