Skip to main content
← All vulnerabilities
CVE-2013-3221GHSA-F57C-HX33-HVH8

The Active Record component in Ruby on Rails 2.3.x, 3.0.x, 3.1.x, and 3.2.x does not ensure that the declared data type of a database column

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.2.0
None on Exploit-DB, Metasploit or GitHub

Summary

The Active Record component in Ruby on Rails 2.3.x, 3.0.x, 3.1.x, and 3.2.x does not ensure that the declared data type of a database column is used during comparisons of input values to stored values in that column, which makes it easier for remote attackers to conduct data-type injection attacks against Ruby on Rails applications via a crafted value, as demonstrated by unintended interaction between the "typed XML" feature and a MySQL database.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • activerecordRubyGems

    fixed in 4.2.0

References 6

pl.reddit.com

groups.google.com

phenoelit.org

openwall.com

gist.github.com