What’s Vulnerable › Vulnerabilities

CVE-2022-44571: Denial of Service Vulnerability in Rack Content-Disposition parsing

Description

There is a denial of service vulnerability in the Content-Disposition parsingcomponent of Rack fixed in 2.0.9.2, 2.1.4.2, 2.2.4.1, 3.0.0.1. This could allow an attacker to craft an input that can cause Content-Disposition header parsing in Rackto take an unexpected amount of time, possibly resulting in a denial ofservice attack vector. This header is used typically used in multipartparsing. Any applications that parse multipart posts using Rack (virtuallyall Rails applications) are impacted.

Affected products

How to fix

Upgrade to a fixed version: rack 2.0.9.2, 2.1.4.2, 2.2.6.1, 3.0.4.1; Rubygems Rack 2.0.9.2, 2.1.4.2, 2.2.6.1, 3.0.4.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-44571 or the next vulnerability affects your stack