Skip to content
OpenAdvisories
High · 7.5 CVE-2024-26142 BIT-rails-2024-26142EUVD-2024-0663GHSA-jjhx-jhvp-74wq

Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch

Published Feb 27, 2024 · Updated Feb 13, 2025 · Assigned by GitHub_M

Description

Rails is a web-application framework. Starting in version 7.1.0, there is a possible ReDoS vulnerability in the Accept header parsing routines of Action Dispatch. This vulnerability is patched in 7.1.3.1. Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected.

Affected products

VendorProductAffectedFixed
rails rails >= 7.1.0, < 7.1.3.1 —

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
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 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionpack >= 7.1.0, < 7.1.3.1 7.1.3.1 GHSA-jjhx-jhvp-74wq

Advisories 1

References