Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912424 (CVE-2023-40175, GHSA-68xg-gqqm-vgj8) - <www-servers/puma-6.3.1: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Summary: <www-servers/puma-6.3.1: Inconsistent Interpretation of HTTP Requests ('HTTP ...
Status: RESOLVED FIXED
Alias: CVE-2023-40175, GHSA-68xg-gqqm-vgj8
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/puma/puma/security...
Whiteboard: B3 [noglsa]
Keywords:
Depends on: 914158
Blocks:
  Show dependency tree
 
Reported: 2023-08-18 05:40 UTC by Hans de Graaff
Modified: 2023-10-22 23:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2023-08-18 05:40:52 UTC
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.
Comment 1 Hans de Graaff gentoo-dev Security 2023-08-18 05:42:30 UTC
puma 6.3.1 has been added. A stable bug will be filed in a few days.

puma 5.6.7 has not been published yet and 5.6.6 (not added) has various test failures, so the plan is to remove the puma 5.x versions altogether and just keep puma 6.x.
Comment 2 Larry the Git Cow gentoo-dev 2023-09-22 05:54:57 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=040b95932b83a009e841367e126ce69de245b4e5

commit 040b95932b83a009e841367e126ce69de245b4e5
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-09-22 05:53:57 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-09-22 05:54:50 +0000

    www-servers/puma: drop 5.6.5, 6.1.1-r1, 6.2.2, 6.3.0
    
    Bug: https://bugs.gentoo.org/912424
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 www-servers/puma/Manifest             |  4 ---
 www-servers/puma/puma-5.6.5.ebuild    | 59 --------------------------------
 www-servers/puma/puma-6.1.1-r1.ebuild | 62 ---------------------------------
 www-servers/puma/puma-6.2.2.ebuild    | 64 -----------------------------------
 www-servers/puma/puma-6.3.0.ebuild    | 64 -----------------------------------
 5 files changed, 253 deletions(-)
Comment 3 Hans de Graaff gentoo-dev Security 2023-09-23 07:18:04 UTC
GLSA vote: no.