HTTP Request Smuggling Affecting waitress package, versions [,1.4.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.15% (52nd percentile)

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-WAITRESS-543054
  • published22 Jan 2020
  • disclosed22 Jan 2020
  • creditUnknown

Introduced: 22 Jan 2020

CVE-2019-16792  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

Upgrade waitress to version 1.4.0 or higher.

Overview

waitress is a production-quality pure-Python WSGI server with very acceptable performance.

Affected versions of this package are vulnerable to HTTP Request Smuggling. It is possible to conduct request smuggling by sending the Content-Length header twice. Waitress would header fold a double Content-Length header and due to being unable to cast the now comma separated value to an integer would set the Content-Length to 0 internally. If two Content-Length headers are sent in a single request, Waitress would treat the request as having no body, thereby treating the body of the request as a new request in HTTP pipelining. This issue is fixed in Waitress

CVSS Scores

version 3.1