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.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Json_gem | Rubygems | 1.5.0 (including) | 1.5.0 (including) |
Json_gem | Rubygems | 1.5.1 (including) | 1.5.1 (including) |
Json_gem | Rubygems | 1.5.2 (including) | 1.5.2 (including) |
Json_gem | Rubygems | 1.5.3 (including) | 1.5.3 (including) |
Json_gem | Rubygems | 1.5.4 (including) | 1.5.4 (including) |
Json_gem | Rubygems | 1.6.0 (including) | 1.6.0 (including) |
Json_gem | Rubygems | 1.6.1 (including) | 1.6.1 (including) |
Json_gem | Rubygems | 1.6.2 (including) | 1.6.2 (including) |
Json_gem | Rubygems | 1.6.3 (including) | 1.6.3 (including) |
Json_gem | Rubygems | 1.6.4 (including) | 1.6.4 (including) |
Json_gem | Rubygems | 1.6.5 (including) | 1.6.5 (including) |
Json_gem | Rubygems | 1.6.6 (including) | 1.6.6 (including) |
Json_gem | Rubygems | 1.6.7 (including) | 1.6.7 (including) |
Json_gem | Rubygems | 1.7.0 (including) | 1.7.0 (including) |
Json_gem | Rubygems | 1.7.1 (including) | 1.7.1 (including) |
Json_gem | Rubygems | 1.7.2 (including) | 1.7.2 (including) |
Json_gem | Rubygems | 1.7.3 (including) | 1.7.3 (including) |
Json_gem | Rubygems | 1.7.4 (including) | 1.7.4 (including) |
Json_gem | Rubygems | 1.7.5 (including) | 1.7.5 (including) |
Json_gem | Rubygems | 1.7.6 (including) | 1.7.6 (including) |
Fuse ESB Enterprise 7.1.0 | RedHat | * | |
Red Hat JBoss Fuse 6.0 | RedHat | * | |
Red Hat JBoss SOA Platform 5.3 | RedHat | * | |
Red Hat Subscription Asset Manager 1.2 | RedHat | candlepin-0:0.7.24-1.el6_3 | * |
Red Hat Subscription Asset Manager 1.2 | RedHat | katello-0:1.2.1.1-1h.el6_4 | * |
Red Hat Subscription Asset Manager 1.2 | RedHat | katello-configure-0:1.2.3.1-4h.el6_4 | * |
Red Hat Subscription Asset Manager 1.2 | RedHat | rubygem-actionpack-1:3.0.10-12.el6cf | * |
Red Hat Subscription Asset Manager 1.2 | RedHat | rubygem-activemodel-0:3.0.10-3.el6cf | * |
Red Hat Subscription Asset Manager 1.2 | RedHat | rubygem-delayed_job-0:2.1.4-3.el6cf | * |
Red Hat Subscription Asset Manager 1.2 | RedHat | rubygem-json-0:1.7.3-2.el6_3 | * |
Red Hat Subscription Asset Manager 1.2 | RedHat | rubygem-nokogiri-0:1.5.0-0.9.beta4.el6cf | * |
Red Hat Subscription Asset Manager 1.2 | RedHat | rubygem-rack-1:1.3.0-4.el6cf | * |
Red Hat Subscription Asset Manager 1.2 | RedHat | rubygem-rails_warden-0:0.5.5-2.el6cf | * |
Red Hat Subscription Asset Manager 1.2 | RedHat | rubygem-rdoc-0:3.8-6.el6cf | * |
Red Hat Subscription Asset Manager 1.2 | RedHat | thumbslug-0:0.0.28.1-1.el6_4 | * |
RHEL 6 Version of OpenShift Enterprise | RedHat | ruby193-ruby-0:1.9.3.327-28.el6 | * |
RHEL 6 Version of OpenShift Enterprise | RedHat | rubygem-json-0:1.7.3-2.el6op | * |
RHEL 6 Version of OpenShift Enterprise | RedHat | rubygem-rdoc-0:3.8-9.el6op | * |
Ruby-json | Ubuntu | oneiric | * |
Ruby-json | Ubuntu | precise | * |
Ruby-json | Ubuntu | quantal | * |
Ruby-json | Ubuntu | raring | * |
Ruby-json | Ubuntu | upstream | * |
Ruby1.9.1 | Ubuntu | lucid | * |
Ruby1.9.1 | Ubuntu | oneiric | * |
Ruby1.9.1 | Ubuntu | precise | * |
Ruby1.9.1 | Ubuntu | quantal | * |
Ruby1.9.1 | Ubuntu | raring | * |
Ruby1.9.1 | Ubuntu | saucy | * |
Ruby1.9.1 | Ubuntu | trusty | * |
Ruby1.9.1 | Ubuntu | upstream | * |
Ruby1.9.1 | Ubuntu | utopic | * |
Ruby1.9.1 | Ubuntu | vivid | * |
Input validation is a frequently-used technique for checking potentially dangerous inputs in order to ensure that the inputs are safe for processing within the code, or when communicating with other components. Input can consist of:
Data can be simple or structured. Structured data can be composed of many nested layers, composed of combinations of metadata and raw data, with other simple or structured data. Many properties of raw data or metadata may need to be validated upon entry into the code, such as:
Implied or derived properties of data must often be calculated or inferred by the code itself. Errors in deriving properties may be considered a contributing factor to improper input validation.