Skip to content

activesupport in Rails vulnerable to incorrect data conversion

High severity GitHub Reviewed Published Oct 24, 2017 to the GitHub Advisory Database • Updated Aug 25, 2023

Package

bundler activesupport (RubyGems)

Affected versions

>= 2.3.2, < 2.3.16
>= 3.0.0, < 3.0.20

Patched versions

2.3.16
3.0.20

Description

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.

References

Published by the National Vulnerability Database Jan 30, 2013
Published to the GitHub Advisory Database Oct 24, 2017
Reviewed Jun 16, 2020
Last updated Aug 25, 2023

Severity

High

EPSS score

97.090%
(100th percentile)

Weaknesses

CVE ID

CVE-2013-0333

GHSA ID

GHSA-xgr2-v94m-rc9g

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.