6.4

CVE-2013-3221: rubyonrails rails Improper Input Validation

CVSS: 6.4v2.0MediumModified
AliasesDEBIAN-CVE-2013-3221GHSA-f57c-hx33-hvh8
Published 22-04-2013Last modified 06-08-2024

Vulnerability summary

CVE-2013-3221 is a medium (CVSS 6.4) Improper Input Validation vulnerability in rubyonrails rails. EPSS estimates a 1.96% chance of exploitation in the next 30 days, higher than 80% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.4/10
010
Medium · v2.0 (NVD)
EPSS score
1.96%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 22-04-2013
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 2 versions

EPSS trend

Probability

1.96%

Chance of exploitation in the next 30 days

Percentile

80%

Versus all other CVEs

30-day change

0.00 pp

From 1.96% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.96%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (phenoelit.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Rubyonrails2 products
  • rails2.3.0 | 2.3.1 | 2.3.2 | 2.3.3 | 2.3.4 | 2.3.9 | 2.3.10 | 2.3.11 | 2.3.12 | 2.3.13 | 2.3.14 | 2.3.15 | 2.3.16 | 3.0.0 | 3.0.0:beta | 3.0.0:beta2 | 3.0.0:beta3 | 3.0.0:beta4 | 3.0.0:rc | 3.0.0:rc2 | 3.0.1 | 3.0.1:pre | 3.0.2 | 3.0.2:pre | 3.0.3 | 3.0.4:rc1 | 3.0.5 | 3.0.5:rc1 | 3.0.6 | 3.0.6:rc1 | 3.0.6:rc2 | 3.0.7 | 3.0.7:rc1 | 3.0.7:rc2 | 3.0.8 | 3.0.8:rc1 | 3.0.8:rc2 | 3.0.8:rc3 | 3.0.8:rc4 | 3.0.9 | 3.0.9:rc1 | 3.0.9:rc2 | 3.0.9:rc3 | 3.0.9:rc4 | 3.0.9:rc5 | 3.0.10 | 3.0.10:rc1 | 3.0.11 | 3.0.12 | 3.0.12:rc1 | 3.0.13 | 3.0.13:rc1 | 3.0.14 | 3.0.16 | 3.0.17 | 3.0.18 | 3.0.19 | 3.0.20 | 3.1.0 | 3.1.0:beta1 | 3.1.0:rc1 | 3.1.0:rc2 | 3.1.0:rc3 | 3.1.0:rc4 | 3.1.0:rc5 | 3.1.0:rc6 | 3.1.0:rc7 | 3.1.0:rc8 | 3.1.1 | 3.1.1:rc1 | 3.1.1:rc2 | 3.1.1:rc3 | 3.1.2 | 3.1.2:rc1 | 3.1.2:rc2 | 3.1.3 | 3.1.4 | 3.1.4:rc1 | 3.1.5 | 3.1.5:rc1 | 3.1.6 | 3.1.7 | 3.1.8 | 3.1.9 | 3.1.10 | 3.2.0 | 3.2.0:rc1 | 3.2.0:rc2 | 3.2.1 | 3.2.2 | 3.2.2:rc1 | 3.2.3 | 3.2.3:rc1 | 3.2.3:rc2 | 3.2.4 | 3.2.4:rc1 | 3.2.5 | 3.2.6 | 3.2.7 | 3.2.8 | 3.2.9 | 3.2.10 | 3.2.11
  • ruby_on_rails3.0.4
Debian1 product
  • rails< 2.3.14.1
RubyGems1 product
  • activerecord< 4.2.0

3 vendors · 4 products

References

12 links
Show all 12 references