Description
The Active Record component in Ruby on Rails 2.3.x before 2.3.18, 3.1.x before 3.1.12, and 3.2.x before 3.2.13 processes certain queries by converting hash keys to symbols, which allows remote attackers to cause a denial of service via crafted input to a where method.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rails | 2.3.14.1 | — |
| Debian 13 | rails | 2.3.14.1 | — |
| Debian 12 | rails | 2.3.14.1 | — |
| Debian 6.0 | rails | 2.3.5-1.2+squeeze8 | DSA-2655-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenShift 1 | ruby193-rubygem-activerecord +1 | 1:3.2.8-6.el6 | RHSA-2013:0699 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | activerecord | >= 2.3.0, < 2.3.18 | 2.3.18 | GHSA-3crr-9vmg-864v |
| RubyGems | activerecord | >= 3.1.0, < 3.1.12 | 3.1.12 | GHSA-3crr-9vmg-864v |
| RubyGems | activerecord | >= 3.2.0, < 3.2.13 | 3.2.13 | GHSA-3crr-9vmg-864v |
Advisories 2
- DSA-2655-1 rails - several Debian Security (DSA / DLA) · Mar 9, 2026
- RHSA-2013:0699 Red Hat Security Advisory: ruby193-rubygem-activerecord security update Red Hat Security Advisories (RHSA) · Jan 29, 2026
References
- openSUSE-SU-2013:0667 vendor-advisory
- APPLE-SA-2013-10-22-5 vendor-advisory
- openSUSE-SU-2013:0659 vendor-advisory
- openSUSE-SU-2013:0660 vendor-advisory
- http://support.apple.com/kb/HT5784
- APPLE-SA-2013-06-04-1 vendor-advisory
- RHSA-2014:1863 vendor-advisory
- openSUSE-SU-2013:0664 vendor-advisory
- openSUSE-SU-2013:0668 vendor-advisory
- [ruby-security-ann] 20130318 [CVE-2013-1854] Symbol DoS vulnerability in Active Record mailing-list
- RHSA-2013:0699 vendor-advisory
- http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/