SB2013013001 - SQL injection in Ruby on Rails
Published: January 30, 2013 Updated: September 30, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) SQL injection (CVE-ID: CVE-2013-0333)
CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:A/U:Green
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to lib/active_support/json/backends/yaml.rb in Ruby on Rails does not properly convert JSON data to YAML data for processing by a YAML parser. A remote attacker can execute arbitrary code, conduct SQL injection attacks, or bypass authentication via crafted data that triggers unsafe decoding.
Remediation
Install update from vendor's website.