Advisory

PYSEC-2019-136

Also known as: CVE-2019-16785, GHSA-pg36-wpm5-g57p

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2019-12-20 23:15 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

waitress

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.0 (ecosystem)

Fixed versions

1.4.0

Fix

  • Fixed version 1.4.0
    pip install --upgrade waitress==1.4.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences