RubySec

Providing security resources for the Ruby community

CVE-2022-44570 (rack): Denial of service via header parsing in Rack

ADVISORIES

GEM

rack

SEVERITY

CVSS v3.x: 7.5 (High)

PATCHED VERSIONS

  • ~> 2.0.9, >= 2.0.9.2
  • ~> 2.1.4, >= 2.1.4.2
  • ~> 2.2.6, >= 2.2.6.2
  • >= 3.0.4.1

DESCRIPTION

There is a possible denial of service vulnerability in the Range header parsing component of Rack. This vulnerability has been assigned the CVE identifier CVE-2022-44570.

Versions Affected: >= 1.5.0 Not affected: None. Fixed Versions: 2.0.9.2, 2.1.4.2, 2.2.6.2, 3.0.4.1

Impact

Carefully crafted input can cause the Range header parsing component in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that deal with Range requests (such as streaming applications, or applications that serve files) may be impacted.

Workarounds

There are no feasible workarounds for this issue.