UBUNTU-CVE-2024-49768

Source
https://ubuntu.com/security/CVE-2024-49768
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-49768.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-49768
Related
Published
2024-10-29T15:15:00Z
Modified
2024-11-20T04:32:47Z
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

Ubuntu:24.10 / waitress

Package

Name
waitress
Purl
pkg:deb/ubuntu/waitress?arch=src?distro=oracular

Affected ranges

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

Affected versions

2.*

2.1.2-2

3.*

3.0.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.0.0-1ubuntu0.1",
            "binary_name": "python-waitress-doc"
        },
        {
            "binary_version": "3.0.0-1ubuntu0.1",
            "binary_name": "python3-waitress"
        }
    ]
}

Ubuntu:24.04:LTS / waitress

Package

Name
waitress
Purl
pkg:deb/ubuntu/waitress?arch=src?distro=noble

Affected ranges

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

Affected versions

2.*

2.1.2-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:24.04:LTS / waitress

Package

Name
waitress
Purl
pkg:deb/ubuntu/waitress?arch=src?distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.2-2ubuntu0.1~esm1

Affected versions

2.*

2.1.2-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.1.2-2ubuntu0.1~esm1",
            "binary_name": "python-waitress-doc"
        },
        {
            "binary_version": "2.1.2-2ubuntu0.1~esm1",
            "binary_name": "python3-waitress"
        }
    ]
}