What’s Vulnerable › Vulnerabilities

CVE-2021-22902

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

How to fix

Upgrade to a fixed version: Ruby on Rails 6.0.3.7, 6.1.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-22902 or the next vulnerability affects your stack