Skip to content

Puma HTTP Request/Response Smuggling vulnerability

Critical severity GitHub Reviewed Published Aug 18, 2023 in puma/puma • Updated Nov 9, 2023

Package

bundler puma (RubyGems)

Affected versions

< 5.6.7
>= 6.0.0, < 6.3.1

Patched versions

5.6.7
6.3.1

Description

Impact

Prior to version 6.3.1, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies and zero-length Content-Length headers in a way that allowed HTTP request smuggling.

The following vulnerabilities are addressed by this advisory:

  • Incorrect parsing of trailing fields in chunked transfer encoding bodies
  • Parsing of blank/zero-length Content-Length headers

Patches

The vulnerability has been fixed in 6.3.1 and 5.6.7.

Workarounds

No known workarounds.

References

HTTP Request Smuggling

For more information

If you have any questions or comments about this advisory:

Open an issue in Puma
See our security policy

References

@nateberkopec nateberkopec published to puma/puma Aug 18, 2023
Published to the GitHub Advisory Database Aug 18, 2023
Reviewed Aug 18, 2023
Published by the National Vulnerability Database Aug 18, 2023
Last updated Nov 9, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2023-40175

GHSA ID

GHSA-68xg-gqqm-vgj8

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.