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."
2013-02-13T01:55:05.107
2025-04-11T00:51:21.963
Deferred
CVSSv2: 7.5 (HIGH)
AV:N/AC:L/Au:N/C:P/I:P/A:P
10.0
6.4
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | rubygems | json_gem | 1.5.0 | Yes |
Application | rubygems | json_gem | 1.5.1 | Yes |
Application | rubygems | json_gem | 1.5.2 | Yes |
Application | rubygems | json_gem | 1.5.3 | Yes |
Application | rubygems | json_gem | 1.5.4 | Yes |
Application | rubygems | json_gem | 1.6.0 | Yes |
Application | rubygems | json_gem | 1.6.1 | Yes |
Application | rubygems | json_gem | 1.6.2 | Yes |
Application | rubygems | json_gem | 1.6.3 | Yes |
Application | rubygems | json_gem | 1.6.4 | Yes |
Application | rubygems | json_gem | 1.6.5 | Yes |
Application | rubygems | json_gem | 1.6.6 | Yes |
Application | rubygems | json_gem | 1.6.7 | Yes |
Application | rubygems | json_gem | 1.7.0 | Yes |
Application | rubygems | json_gem | 1.7.1 | Yes |
Application | rubygems | json_gem | 1.7.2 | Yes |
Application | rubygems | json_gem | 1.7.3 | Yes |
Application | rubygems | json_gem | 1.7.4 | Yes |
Application | rubygems | json_gem | 1.7.5 | Yes |
Application | rubygems | json_gem | 1.7.6 | Yes |