Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. gitlab-puma
  4. ›
  5. CVE-2023-40175

CVE-2023-40175: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

August 18, 2023 (updated August 24, 2023)

Puma is a Ruby/Rack web server built for parallelism. Prior to versions 6.3.1 and 5.6.7, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies and zero-length Content-Length headers in a way that allowed HTTP request smuggling. Severity of this issue is highly dependent on the nature of the web site using puma is. This could be caused by either incorrect parsing of trailing fields in chunked transfer encoding bodies or by parsing of blank/zero-length Content-Length headers. Both issues have been addressed and this vulnerability has been fixed in versions 6.3.1 and 5.6.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.

References

  • github.com/puma/puma/commit/690155e7d644b80eeef0a6094f9826ee41f1080a
  • github.com/puma/puma/security/advisories/GHSA-68xg-gqqm-vgj8
  • nvd.nist.gov/vuln/detail/CVE-2023-40175

Code Behaviors & Features

Detect and mitigate CVE-2023-40175 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.6.7, all versions starting from 6.0.0 before 6.3.1

Fixed versions

  • 5.6.7
  • 6.3.1

Solution

Upgrade to version 5.6.7, 6.3.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Source file

gem/gitlab-puma/CVE-2023-40175.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.