VDB
CVE-2013-3221
CVE-2013-3221
PUBLISHED
CVSS 9.300000190734863 CRITICAL
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.
EPSS 1.96% · 80.2th percentile
Risk Scores
CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS Score
1.96%
80.2th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| rubyonrails | rails | 3.2.0, 2.3.12, 2.3.1 |
| n/a | n/a | n/a |
| RubyGems | activerecord | 0 |
| rubyonrails | ruby_on_rails | 3.0.4 |
| Azure | sql_database |
Timeline
- Apr 22, 2013 CVE Published
- Feb 4, 2022 EPSS Score
- Mar 29, 2022 EPSS Score
- May 21, 2022 EPSS Score
- Jul 15, 2022 EPSS Score
- Sep 6, 2022 EPSS Score
- Oct 29, 2022 EPSS Score
- Dec 21, 2022 EPSS Score
- Feb 12, 2023 EPSS Score
- Apr 7, 2023 EPSS Score
- May 30, 2023 EPSS Score
- Jul 22, 2023 EPSS Score
References
- http://pl.reddit.com/r/netsec/comments/17yajp/mysql_madness_and_rails/ url
- http://www.phenoelit.org/blog/archives/2013/02/index.html url
- [oss-security] 20130424 CVE-2013-3221 can also relate to Microsoft SQL Server and IBM DB2 mailing-list
- [rubyonrails-security] 20130207 Potential Query Manipulation with Common Rails Practises mailing-list
- https://gist.github.com/dakull/5442275 url
- [oss-security] 20130207 Potential Query Manipulation with Common Rails Practises mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2013-3221 advisory
- https://github.com/rails/rails package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2013-3221.yml url
- https://web.archive.org/web/20130825191249/http://www.phenoelit.org/blog/archives/2013/02/index.html url
- http://pl.reddit.com/r/netsec/comments/17yajp/mysql_madness_and_rails url