Skip to content
OpenAdvisories
High · 7.5 CVE-2021-22885 EUVD-2021-1104GHSA-hjg4-8q5f-x6fm

Action Pack contains Information Disclosure / Unintended Method Execution vulnerability

Published May 27, 2021 · Updated Aug 3, 2024 · Assigned by hackerone

Description

A possible information disclosure / unintended method execution vulnerability in Action Pack >= 2.0.0 when using the `redirect_to` or `polymorphic_url`helper with untrusted user input.

Affected products

VendorProductAffectedFixed
— https://github.com/rails/rails 6.1.3.1, 6.0.3.7, 5.2.4.6, 5.2.6 —

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:6.0.3.7+dfsg-1 —
Debian 13 rails 2:6.0.3.7+dfsg-1 —
Debian 12 rails 2:6.0.3.7+dfsg-1 —
Debian 10 rails 2:5.2.2.1+dfsg-1+deb10u3 DSA-4929-1
Debian 9 rails 2:4.2.7.1-1+deb9u5 DLA-2655-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rails No fix yet —
Ubuntu 26.04 LTS rails No fix yet —
Ubuntu 25.10 rails No fix yet —
Ubuntu 24.04 LTS rails No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS rails No fix yet —
Ubuntu Pro 20.04 LTS rails No fix yet —
Ubuntu Pro 18.04 LTS rails No fix yet —
Ubuntu Pro 16.04 LTS rails No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Satellite Capsule 6 foreman 2.5.2.17-2.el7sat RHSA-2021:4702
Red Hat Satellite Capsule 6 python-aiohttp 3.7.4-1.el7pc RHSA-2021:4702
Red Hat Satellite Capsule 6 python-ecdsa +1 0.13.3-2.el7pc RHSA-2021:4702
Red Hat Satellite Capsule 6 python-pyyaml +1 5.4.1-1.el7pc RHSA-2021:4702
Red Hat Satellite Capsule 6 python-urllib3 +1 1.26.5-1.el7pc RHSA-2021:4702
Red Hat Satellite Capsule 6 python3-django 2.2.24-1.el7pc RHSA-2021:4702
Red Hat Satellite Capsule 6 satellite +1 6.10.0-3.el7sat RHSA-2021:4702
Red Hat Satellite Capsule 6 tfm-rubygem-nokogiri 1.11.3-2.el7sat RHSA-2021:4702
Red Hat Satellite 6 candlepin 4.0.9-1.el7sat RHSA-2021:4702
Red Hat Satellite 6 foreman 2.5.2.17-2.el7sat RHSA-2021:4702
Red Hat Satellite 6 python-aiohttp 3.7.4-1.el7pc RHSA-2021:4702
Red Hat Satellite 6 python-ecdsa +1 0.13.3-2.el7pc RHSA-2021:4702
Red Hat Satellite 6 python-pyyaml +1 5.4.1-1.el7pc RHSA-2021:4702
Red Hat Satellite 6 python-urllib3 +1 1.26.5-1.el7pc RHSA-2021:4702
Red Hat Satellite 6 python3-django 2.2.24-1.el7pc RHSA-2021:4702
Red Hat Satellite 6 satellite 6.10.0-3.el7sat RHSA-2021:4702
Red Hat Satellite 6 tfm-rubygem-activerecord-session_store 2.0.0-1.el7sat RHSA-2021:4702
Red Hat Satellite 6 tfm-rubygem-addressable 2.8.0-1.el7sat RHSA-2021:4702
Red Hat Satellite 6 tfm-rubygem-nokogiri 1.11.3-2.el7sat RHSA-2021:4702
Red Hat Satellite 6 tfm-rubygem-puma 5.3.2-1.el7sat RHSA-2021:4702
Red Hat Satellite 6 tfm-rubygem-rails +1 6.0.3.7-1.el7sat RHSA-2021:4702
ReleasePackageFixed inAdvisory
SLES 15 SP3 rubygem-actionpack-5_1 5.1.4-3.9.1 SUSE-SU-2021:1759-1
SLES 15 SP2 rubygem-actionpack-5_1 5.1.4-3.9.1 SUSE-SU-2021:1759-1
SLES 15 SP1 rubygem-actionpack-5_1 5.1.4-3.9.1 SUSE-SU-2021:1759-1
SLES 15 rubygem-actionpack-5_1 5.1.4-3.9.1 SUSE-SU-2021:1759-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE WebYast 1.3 rubygem-actionpack-3_2 3.2.12-0.27.3.1 SUSE-SU-2022:15116-1
SUSE OpenStack Cloud Crowbar 9 rubygem-actionpack-4_2 4.2.9-7.12.1 SUSE-SU-2021:1650-1
SUSE OpenStack Cloud Crowbar 8 rubygem-actionpack-4_2 4.2.9-7.12.1 SUSE-SU-2021:1650-1
SUSE OpenStack Cloud 7 rubygem-actionpack-4_2 4.2.9-7.12.1 SUSE-SU-2021:1650-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rubygem-actionpack-6.0 6.0.4.4-1.1 openSUSE-SU-2024:11821-1
openSUSE Leap 15.3 rubygem-actionpack-5_1 5.1.4-3.9.1 openSUSE-SU-2021:1759-1
openSUSE Leap 15.2 rubygem-actionpack-5_1 5.1.4-lp152.5.6.1 openSUSE-SU-2021:0797-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionpack >= 6.0.0, < 6.0.3.7 6.0.3.7 GHSA-hjg4-8q5f-x6fm
RubyGems actionpack >= 6.1.0, < 6.1.3.2 6.1.3.2 GHSA-hjg4-8q5f-x6fm
RubyGems actionpack >= 5.2.5, < 5.2.6 5.2.6 GHSA-hjg4-8q5f-x6fm
RubyGems actionpack >= 2.0.0, < 5.2.4.6 5.2.4.6 GHSA-hjg4-8q5f-x6fm

Advisories 10

References