Alpine: multiple py3-waitress packages: security update to 1.4.0-r0

medium Tenable Self-Hosted Container Security Plugin ID 406722

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- 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. (CVE-2019-16785)

- Waitress through version 1.3.1 would parse the Transfer-Encoding header and only look for a single string
value, if that value was not chunked it would fall through and use the Content-Length header instead.
According to the HTTP standard Transfer-Encoding should be a comma separated list, with the inner-most
encoding first, followed by any further transfer codings, ending with chunked. Requests sent with:
"Transfer-Encoding: gzip, chunked" would incorrectly get ignored, and the request would use a Content-
Length header instead to determine the body size of the HTTP message. This could allow for Waitress to
treat a single request as multiple requests in the case of HTTP pipelining. This issue is fixed in
Waitress 1.4.0. (CVE-2019-16786)

See Also

https://security.alpinelinux.org/vuln/CVE-2019-16785

https://security.alpinelinux.org/vuln/CVE-2019-16786

Plugin Details

Severity: Medium

ID: 406722

Version: Revision 1.26

Type: Local

Published: 10/31/2023

Updated: 12/4/2025

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2019-16786

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.1

Threat Score: 2.3

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 12/20/2019

Reference Information

CVE: CVE-2019-16785, CVE-2019-16786