Patchfirst
CVE-2013-0333 Public exploit EPSS 95.6%

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…

Fix:upgrade activesupport to 3.0.20 or later Details ↓

Summary

The flaw lies in the YAML JSON-handling backend (lib/active_support/json/backends/yaml.rb) of Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20, where JSON data is not properly converted to YAML before being passed to a YAML parser.

Official description · CVE.org

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.

Breakdown
26.1 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Metasploit) was available 2 days before disclosure.

  1. Public exploit codeMetasploit2 days before
  2. Disclosedday 0

7 fixes in activesupport over 4 years. The latest fix listed for activesupport is 3.2.13.

Fixes in activesupportRubyGems package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 2.3.4CVE-2009-30868 Sep 2009
  2. 3.0.8CVE-2011-219730 Jun 2011
  3. 3.0.10CVE-2011-293229 Aug 2011
  4. 3.0.20CVE-2013-033330 Jan 2013
  5. 3.2.2CVE-2012-109813 Mar 2012
  6. 3.2.8CVE-2012-346410 Aug 2012
  7. 3.2.13CVE-2013-185619 Mar 2013Latest listed

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: activesupport.

RubyGemsactivesupportGHSA-xgr2-v94m-rc9g

Upgrade to 3.0.20 or later

Gemfilegem "activesupport", ">= 3.0.20"

The first fix for CVE-2013-0333. No other CVE tracked by Patchfirst affects this package.

Affected versions, by release line

If you runUpgrade to
3.0.0 up to 3.0.203.0.20
2.3.2 up to 2.3.162.3.16

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 2 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

11 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close