Skip to content
OpenAdvisories
Medium · 5.3 CVE-2015-7577 EUVD-2017-0334GHSA-xrr6-3pc4-m447

Active Record Improper Access Control

Published Feb 16, 2016 · Updated Aug 6, 2024 · Assigned by redhat

Description

activerecord/lib/active_record/nested_attributes.rb in Active Record in Ruby on Rails 3.1.x and 3.2.x before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not properly implement a certain destroy option, which allows remote attackers to bypass intended change restrictions by leveraging use of the nested attributes feature.

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:4.2.5.1-1 —
Debian 13 rails 2:4.2.5.1-1 —
Debian 12 rails 2:4.2.5.1-1 —
Debian 8 rails 2:4.1.8-1+deb8u1 DSA-3464-1
Debian 7 ruby-activerecord-3.2 3.2.6-5+deb7u2 DLA-496-1
ReleasePackageFixed inAdvisory
RHEL 2 rh-ror41-rubygem-actionpack +2 1:4.1.5-3.el6 RHSA-2016:0296
RHEL 2 rh-ror41-rubygem-actionview +1 4.1.5-4.el6 RHSA-2016:0296
RHEL 2 rh-ror41-rubygem-activemodel +1 4.1.5-2.el6 RHSA-2016:0296
RHEL 2 rh-ror41-rubygem-activerecord +1 1:4.1.5-2.el6 RHSA-2016:0296
RHEL 2 ror40-rubygem-actionpack +1 1:4.0.2-7.el6 RHSA-2016:0454
RHEL 2 ror40-rubygem-activerecord +1 1:4.0.2-6.el6 RHSA-2016:0454
RHEL 2 ror40-rubygem-activesupport 1:4.0.2-4.el6 RHSA-2016:0454
RHEL 2 ruby193-rubygem-actionpack +1 1:3.2.8-16.el6 RHSA-2016:0455
RHEL 2 ruby193-rubygem-activerecord +1 1:3.2.8-11.el6 RHSA-2016:0455
RHEL 2 ruby193-rubygem-activesupport 1:3.2.8-6.el6 RHSA-2016:0455
ReleasePackageFixed inAdvisory
SLES 12 portus 2.0.3-2.4 SUSE-SU-2016:1146-1
SLES 11 SP4 rubygem-activerecord-3_2 3.2.12-0.15.1 SUSE-SU-2016:0619-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE WebYast 1.3 rubygem-activerecord-3_2 3.2.12-0.15.1 SUSE-SU-2016:0619-1
SUSE Studio Onsite Runner 1.3 libjansson 2.2.1-0.9.11.6 SUSE-SU-2017:0475-1
SUSE Studio Onsite Runner 1.3 qemu-ext2 0.1.1-0.9.4.19 SUSE-SU-2017:0475-1
SUSE Studio Onsite Runner 1.3 rubygem-bundler19 1.7.0-0.13.10 SUSE-SU-2017:0475-1
SUSE Studio Onsite Runner 1.3 studio-help 1.3.20-0.6.9 SUSE-SU-2017:0475-1
SUSE Studio Onsite Runner 1.3 susestudio 1.3.14-52.1 SUSE-SU-2017:0475-1
SUSE Studio Onsite 1.3 libjansson 2.2.1-0.9.11.6 SUSE-SU-2017:0475-1
SUSE Studio Onsite 1.3 qemu-ext2 0.1.1-0.9.4.19 SUSE-SU-2017:0475-1
SUSE Studio Onsite 1.3 rubygem-activerecord-3_2 3.2.12-0.15.1 SUSE-SU-2016:0619-1
SUSE Studio Onsite 1.3 rubygem-bundler19 1.7.0-0.13.10 SUSE-SU-2017:0475-1
SUSE Studio Onsite 1.3 studio-help 1.3.20-0.6.9 SUSE-SU-2017:0475-1
SUSE Studio Onsite 1.3 susestudio 1.3.14-52.1 SUSE-SU-2017:0475-1
SUSE OpenStack Cloud 5 rubygem-activerecord-4_1 4.1.9-9.1 SUSE-SU-2016:0598-1
SUSE Lifecycle Management Server 1.3 rubygem-activerecord-3_2 3.2.12-0.15.1 SUSE-SU-2016:0619-1
SUSE Enterprise Storage 2.1 rubygem-activerecord-4_2 4.2.2-5.1 SUSE-SU-2016:0458-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems activerecord >= 3.1.0, < 3.2.22.1 3.2.22.1 GHSA-xrr6-3pc4-m447
RubyGems activerecord >= 4.0.0, < 4.1.14.1 4.1.14.1 GHSA-xrr6-3pc4-m447
RubyGems activerecord >= 4.2.0, < 4.2.5.1 4.2.5.1 GHSA-xrr6-3pc4-m447
RubyGems activerecord >= 5.0.0.beta1, < 5.0.0.beta1.1 5.0.0.beta1.1 GHSA-xrr6-3pc4-m447

Advisories 11

References