Skip to content
OpenAdvisories
High · 7.5 CVE-2021-22902 EUVD-2021-1076GHSA-g8ww-46x2-2p65

Denial of Service in Action Dispatch

Published Jun 11, 2021 · Updated Aug 3, 2024 · Assigned by hackerone

Description

The actionpack ruby gem (a framework for handling and responding to web requests in Rails) before 6.0.3.7, 6.1.3.2 suffers from a possible denial of service vulnerability in the Mime type parser of Action Dispatch. Carefully crafted Accept headers can cause the mime type parser in Action Dispatch to do catastrophic backtracking in the regular expression engine.

Affected products

VendorProductAffectedFixed
— https://github.com/rails/rails Fixed in 6.0.3.7, 6.1.3.2 —

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 —
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
openSUSE Tumbleweed rubygem-actionpack-6.0 6.0.4.4-1.1 openSUSE-SU-2024:11821-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionpack >= 6.0.0, < 6.0.3.7 6.0.3.7 GHSA-g8ww-46x2-2p65
RubyGems actionpack >= 6.1.0, < 6.1.3.2 6.1.3.2 GHSA-g8ww-46x2-2p65

Advisories 3

References