National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2013-3221 Detail

Current Description

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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: N/A
NVD score not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://openwall.com/lists/oss-security/2013/02/06/7
http://openwall.com/lists/oss-security/2013/04/24/7
http://pl.reddit.com/r/netsec/comments/17yajp/mysql_madness_and_rails/
http://www.phenoelit.org/blog/archives/2013/02/index.html Exploit
https://gist.github.com/dakull/5442275
https://groups.google.com/group/rubyonrails-security/msg/1f3bc0b88a60c1ce?dmode=source&output=gplain

Weakness Enumeration

CWE-ID CWE Name Source
CWE-20 Improper Input Validation NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:rubyonrails:rails:2.3.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.11:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.12:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.13:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.14:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.15:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.16:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:a:rubyonrails:rails:3.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:beta:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:beta2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:beta3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:beta4:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:rc:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.1:pre:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.2:pre:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.4:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.5:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.6:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.6:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.7:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.7:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.8:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.8:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.8:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.8:rc4:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.9:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.9:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.9:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.9:rc4:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.9:rc5:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.10:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.11:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.12:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.12:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.13:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.13:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.14:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.16:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.17:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.18:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.19:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.20:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:ruby_on_rails:3.0.4:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 3 ( hide )
 cpe:2.3:a:rubyonrails:rails:3.1.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:beta1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:rc4:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:rc5:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:rc6:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:rc7:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:rc8:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.1:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.1:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.1:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.2:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.2:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.4:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.5:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.10:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 4 ( hide )
 cpe:2.3:a:rubyonrails:rails:3.2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.0:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.0:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.2:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.3:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.3:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.4:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.2.11:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

105 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2013-3221
NVD Published Date:
04/21/2013
NVD Last Modified:
08/08/2019