Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-16785

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-16785
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:37 UTC · Revision 1

Source evidence

CVE-2019-16785

core-osv · Original source

Published 20 Dec 2019, 23:15 UTC

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.

osv:CVE-2019-16785
Complete source record
{
  "id": "cce018e9b7ad563f01d25e8ad9a20d8d5b10aff9d0095fd2c4d06f685d689c45",
  "url": "https://osv.dev/vulnerability/CVE-2019-16785",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-16785",
    "summary": "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.",
    "evidence": "osv:CVE-2019-16785",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-16785",
      "aliases": [
        "CVE-2019-16785",
        "GHSA-pg36-wpm5-g57p",
        "PYSEC-2019-136"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pylons/waitress",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "05e965e02f9d73fa6db18a120da1bebcfe429ca2"
                },
                {
                  "fixed": "8eba394ad75deaf9e5cd15b78a3d16b12e6b0eba"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:agendaless:waitress:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8eba394ad75deaf9e5cd15b78a3d16b12e6b0eba"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.3.1",
            "v1.3.0",
            "v1.3.0b0",
            "v1.2.1",
            "v1.2.0",
            "v1.2.0b3",
            "v1.2.0b2",
            "v1.2.0b1",
            "v1.1.0",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v1.0a2",
            "v1.0a1",
            "v0.9.0",
            "v0.9.0b1",
            "0.9.0b0",
            "0.8.11b0",
            "0.8.10",
            "0.8.9",
            "0.8.8",
            "0.8.7",
            "0.8.6",
            "0.8.5",
            "0.8.4",
            "0.8.3",
            "0.8.2",
            "0.8.1",
            "0.8",
            "0.7",
            "0.6.1",
            "0.6",
            "0.5",
            "0.4",
            "0.3",
            "0.2",
            "0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16785.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:47.524610339Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GVDHR2DNKCNQ7YQXISJ45NT4IQDX3LJ7/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYEOTGWJZVKPRXX2HBNVIYWCX73QYPM5/",
        "https://access.redhat.com/errata/RHSA-2020:0720",
        "https://docs.pylonsproject.org/projects/waitress/en/latest/#security-fixes",
        "https://lists.debian.org/debian-lts-announce/2022/05/msg00011.html",
        "https://github.com/Pylons/waitress/commit/8eba394ad75deaf9e5cd15b78a3d16b12e6b0eba",
        "https://www.oracle.com/security-alerts/cpuapr2022.html",
        "https://github.com/Pylons/waitress/security/advisories/GHSA-pg36-wpm5-g57p"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "30"
                  },
                  {
                    "last_affected": "30"
                  },
                  {
                    "introduced": "31"
                  },
                  {
                    "last_affected": "31"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:1.10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_network_function_cloud_native_environment",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.10.0"
                  },
                  {
                    "last_affected": "1.10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:openstack:15:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:openstack",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15"
                  },
                  {
                    "last_affected": "15"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-16785",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382157,
  "published_at": "2019-12-20T23:15:11.167+00:00"
}