PT-2013-4237

CVE-2013-3221

·

Published

2013-04-22

·

Updated

2022-05-14

Description by

CVSS 4.0
9.3
Critical
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Ruby on Rails versions 2.3.x through 3.2.x
Description The issue allows remote attackers to conduct data-type injection attacks against Ruby on Rails applications. This is due to the Active Record component not ensuring that the declared data type of a database column is used during comparisons of input values to stored values in that column. The attack can be carried out via a crafted value, as demonstrated by unintended interaction between the "typed XML" feature and a MySQL database.
Recommendations For versions 2.3.x through 3.2.x, update to a version that ensures the declared data type of a database column is used during comparisons of input values to stored values in that column. As a temporary workaround, consider restricting the use of the "typed XML" feature to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-F57C-HX33-HVH8
Found an issue in the description? Have something to add? Feel free to write us 👾