Description
ActiveRecord in Ruby on Rails before 2.3.17 and 3.x before 3.1.0 allows remote attackers to cause a denial of service or execute arbitrary code via crafted serialized attributes that cause the +serialize+ helper to deserialize arbitrary YAML.
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+squeeze7 | DSA-2620-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | activerecord | < 2.3.17 | 2.3.17 | GHSA-fhj9-cjjh-27vm |
| RubyGems | activerecord | >= 3.0.0, < 3.1.0 | 3.1.0 | GHSA-fhj9-cjjh-27vm |
Advisories 1
- DSA-2620-1 rails - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- 1028109 vdb-entry
- https://puppet.com/security/cve/cve-2013-0277
- http://support.apple.com/kb/HT5784
- DSA-2620 vendor-advisory
- APPLE-SA-2013-06-04-1 vendor-advisory
- 90073 vdb-entry
- [rubyonrails-security] 20130211 Serialized Attributes YAML Vulnerability with Rails 2.3 and 3.0 [CVE-2013-0277] mailing-list
- openSUSE-SU-2013:0462 vendor-advisory
- [oss-security] 20130211 Serialized Attributes YAML Vulnerability with Rails 2.3 and 3.0 [CVE-2013-0277] mailing-list
- http://weblog.rubyonrails.org/2013/2/11/SEC-ANN-Rails-3-2-12-3-1-11-and-2-3-17-have-been-released/
- 52112 third-party-advisory