Improper Input Validation Affecting rails package, versions <2.3.14.1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.96% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-RAILS-18427178
  • published30 Jul 2026
  • disclosed22 Apr 2013

Introduced: 22 Apr 2013

CVE-2013-3221  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Echo:latest rails to version 2.3.14.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rails package and not the rails package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1