Advisory

GHSA-xgr2-v94m-rc9g

Also known as: CVE-2013-0333

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-11-29 05:42 UTC

Affected packages and fixes

activesupport

RubyGems · All systems

Affected

  • introduced 2.3.2, fixed 2.3.16 (ecosystem)

Fixed versions

2.3.16

Fix

The export has no generic command for this ecosystem.

activesupport

RubyGems · All systems

Affected

  • introduced 3.0.0, fixed 3.0.20 (ecosystem)

Fixed versions

3.0.20

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences