{"id":"UBUNTU-CVE-2019-16785","details":"Waitress through version 1.3.1 implemented a \"MAY\" part of the RFC7230 which states: \"Although the line terminator for the start-line and header fields is the sequence CRLF, a recipient MAY recognize a single LF as a line terminator and ignore any preceding CR.\" Unfortunately if a front-end server does not parse header fields with an LF the same way as it does those with a CRLF it can lead to the front-end and the back-end server parsing the same HTTP message in two different ways. This can lead to a potential for HTTP request smuggling/splitting whereby Waitress may see two requests while the front-end server only sees a single HTTP message. This issue is fixed in Waitress 1.4.0.","modified":"2025-10-24T04:47:53Z","published":"2019-12-20T23:15:00Z","upstream":["CVE-2019-16785"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-16785"},{"type":"REPORT","url":"https://docs.pylonsproject.org/projects/waitress/en/latest/#security-fixes"},{"type":"REPORT","url":"https://github.com/Pylons/waitress/security/advisories/GHSA-pg36-wpm5-g57p"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-16785"}],"affected":[{"package":{"name":"waitress","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/waitress@0.8.10-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.9-2ubuntu1","0.8.10-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-waitress","binary_version":"0.8.10-1"},{"binary_name":"python3-waitress","binary_version":"0.8.10-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16785.json"}},{"package":{"name":"waitress","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/waitress@1.0.1-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.1-1","binary_name":"python-waitress"},{"binary_name":"python3-waitress","binary_version":"1.0.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16785.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"low"}]}