CVE-2024-49768

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49768
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49768.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49768
Aliases
Related
Published
2024-10-29T15:15:11Z
Modified
2024-11-10T23:50:33.949500Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

Waitress is a Web Server Gateway Interface server for Python 2 and 3. A remote client may send a request that is exactly recvbytes (defaults to 8192) long, followed by a secondary request using HTTP pipelining. When request lookahead is disabled (default) we won't read any more requests, and when the first request fails due to a parsing error, we simply close the connection. However when request lookahead is enabled, it is possible to process and receive the first request, start sending the error message back to the client while we read the next request and queue it. This will allow the secondary request to be serviced by the worker thread while the connection should be closed. Waitress 3.0.1 fixes the race condition. As a workaround, disable channelrequest_lookahead, this is set to 0 by default disabling this feature.

References

Affected packages

Debian:12 / waitress

Package

Name
waitress
Purl
pkg:deb/debian/waitress?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.1.2-2

3.*

3.0.0-1
3.0.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / waitress

Package

Name
waitress
Purl
pkg:deb/debian/waitress?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.1-1

Affected versions

2.*

2.1.2-2

3.*

3.0.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/pylons/waitress

Affected ranges

Type
GIT
Repo
https://github.com/pylons/waitress
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1
0.2
0.3
0.4
0.5
0.6
0.6.1
0.7
0.8
0.8.1
0.8.10
0.8.11b0
0.8.2
0.8.3
0.8.4
0.8.5
0.8.6
0.8.7
0.8.8
0.8.9
0.9.0b0

v0.*

v0.9.0
v0.9.0b1

v1.*

v1.0.0
v1.0.1
v1.0.2
v1.0a1
v1.0a2
v1.1.0
v1.2.0
v1.2.0b1
v1.2.0b2
v1.2.0b3
v1.2.1
v1.3.0
v1.3.0b0
v1.3.1
v1.4.0
v1.4.1
v1.4.2
v1.4.3
v1.4.4

v2.*

v2.0.0
v2.0.0b0
v2.0.0b1
v2.1.0
v2.1.0b0
v2.1.1
v2.1.2

v3.*

v3.0.0