CVE-2021-22902

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductRails
PublishedJun 11, 2021
First seenJun 11, 2021

How to fix

Update
  • rubyonrails rails6.0.3.7, 6.1.0.2 or later

Affected products

ProductAffected versionsFixed in
rubyonrails rails6.0.0 ≤ v < 6.0.3.7, 6.1.0 ≤ v < 6.1.0.26.0.3.7, 6.1.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.