Skip to content
OpenAdvisories
Critical CVE-2013-0277 EUVD-2017-0230GHSA-fhj9-cjjh-27vm

Active Record contains deserialization of arbitrary YAML

Published Feb 13, 2013 · Updated Aug 6, 2024 · Assigned by redhat

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.

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
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

References