What’s Vulnerable › Vulnerabilities

CVE-2024-25126: Rack ReDos in content type parsing (2nd degree polynomial)

Description

Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack’s media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This vulnerability is patched in 3.0.9.1 and 2.2.8.1.

Affected products

How to fix

Upgrade to a fixed version: rack 2.2.8.1, 3.0.9.1; Rubygems Rack 3.0.9.1, 2.2.8.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-25126 or the next vulnerability affects your stack