OESA-2022-1643

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1643
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1643.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1643
Upstream
Published
2022-05-11T11:03:45Z
Modified
2025-08-12T05:12:52.335501Z
Summary
python-waitress security update
Details

Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on CPython on Unix and Windows under Python 2.7+ and Python 3.5+. It is also known to run on PyPy 1.6.0+ on UNIX. It supports HTTP/1.0 and HTTP/1.1.

Security Fix(es):

Waitress is a Web Server Gateway Interface server for Python 2 and 3. When using Waitress versions 2.1.0 and prior behind a proxy that does not properly validate the incoming HTTP request matches the RFC7230 standard, Waitress and the frontend proxy may disagree on where one request starts and where it ends. This would allow requests to be smuggled via the front-end proxy to waitress and later behavior. There are two classes of vulnerability that may lead to request smuggling that are addressed by this advisory: The use of Python's int() to parse strings into integers, leading to +10 to be parsed as 10, or 0x01 to be parsed as 1, where as the standard specifies that the string should contain only digits or hex digits; and Waitress does not support chunk extensions, however it was discarding them without validating that they did not contain illegal characters. This vulnerability has been patched in Waitress 2.1.1. A workaround is available. When deploying a proxy in front of waitress, turning on any and all functionality to make sure that the request matches the RFC7230 standard. Certain proxy servers may not have this functionality though and users are encouraged to upgrade to the latest version of waitress instead.(CVE-2022-24761)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / python-waitress

Package

Name
python-waitress
Purl
pkg:rpm/openEuler/python-waitress&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.0-5.oe1

Ecosystem specific

{
    "noarch": [
        "python2-waitress-1.1.0-5.oe1.noarch.rpm",
        "python3-waitress-1.1.0-5.oe1.noarch.rpm"
    ],
    "src": [
        "python-waitress-1.1.0-5.oe1.src.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / python-waitress

Package

Name
python-waitress
Purl
pkg:rpm/openEuler/python-waitress&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.0-5.oe1

Ecosystem specific

{
    "noarch": [
        "python2-waitress-1.1.0-5.oe1.noarch.rpm",
        "python3-waitress-1.1.0-5.oe1.noarch.rpm"
    ],
    "src": [
        "python-waitress-1.1.0-5.oe1.src.rpm"
    ]
}

openEuler:22.03-LTS / python-waitress

Package

Name
python-waitress
Purl
pkg:rpm/openEuler/python-waitress&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0-3.oe2203

Ecosystem specific

{
    "noarch": [
        "python3-waitress-2.0.0-3.oe2203.noarch.rpm"
    ],
    "src": [
        "python-waitress-2.0.0-3.oe2203.src.rpm"
    ]
}