VDB
KO
HIGH

GHSA-xgr2-v94m-rc9g

activesupport in Rails vulnerable to incorrect data conversion

Details

`lib/active_support/json/backends/yaml.rb` in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data to YAML data for processing by a YAML parser, which allows remote attackers to execute arbitrary code, conduct SQL injection attacks, or bypass authentication via crafted data that triggers unsafe decoding, a different vulnerability than CVE-2013-0156.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems / activesupport
Introduced in: 2.3.2 Fixed in: 2.3.16
Fix bundle update activesupport
RubyGems / activesupport
Introduced in: 3.0.0 Fixed in: 3.0.20
Fix bundle update activesupport

References