Skip to content

Invalid parsing of chunked encoding in HTTP/1.1 allows DoS attacks

Moderate
nateberkopec published GHSA-c2f4-cvqm-65w2 Jan 8, 2024

Package

bundler Puma (RubyGems)

Affected versions

< 6.4.2

Patched versions

>= 6.4.2, >= 5.6.8

Description

Impact

Prior to version 6.4.2, puma exhibited dangerous behavior when parsing chunked transfer encoding bodies.

Fixed versions limit the size of chunk extensions. Without this limit, an attacker could cause unbounded resource (CPU, network bandwidth) consumption.

Patches

The vulnerability has been fixed in 6.4.2 and 5.6.8.

Workarounds

No known workarounds.

References

Severity

Moderate

CVE ID

CVE-2024-21647

Weaknesses

Credits