{"id":"CVE-2020-5236","aliases":["GHSA-73m2-3pwg-5fgc","PYSEC-2020-155"],"summary":"Catastrophic backtracking in regex allows Denial of Service in Waitress","published_at":"2020-02-03T00:00:00Z","modified_at":"2026-09-10T03:49:25.209471Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"medium","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","attack_path":"internet_authenticated","user_interaction":true,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"SUSE","rating":"moderate"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.02363000065088272,"percentile":0.8414199948310852,"date":"2026-11-19T00:00:00Z"},"priority":7.4,"details":"Waitress version 1.4.2 allows a DOS attack When waitress receives a header that contains invalid characters. When a header like \"Bad-header: xxxxxxxxxxxxxxx\\x10\" is received, it will cause the regular expression engine to catastrophically backtrack causing the process to use 100% CPU time and blocking any other interactions. This allows an attacker to send a single request with an invalid header and take the service offline. This issue was introduced in version 1.4.2 when the regular expression was updated to attempt to match the behaviour required by errata associated with RFC7230. The regular expression that is used to validate incoming headers has been updated in version 1.4.3, it is recommended that people upgrade to the new version of Waitress as soon as possible.","affected_stack":[{"ecosystem":"Red Hat:openstack:15","package":"python-waitress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2020-5236","relation":"self"},{"ecosystem":"Red Hat:openstack:15","package":"python3-waitress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2020-5236","relation":"self"},{"ecosystem":"Red Hat:openstack:16","package":"python-waitress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2020-5236","relation":"self"},{"ecosystem":"Red Hat:openstack:16","package":"python3-waitress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2020-5236","relation":"self"}],"affected_other":[{"ecosystem":"CVE","package":"Pylons/Waitress","versions":["= 1.4.2"],"provider":"cvelistv5","source":"CVE-2020-5236","relation":"self"},{"ecosystem":"NVD","package":"agendaless:waitress","versions":["1.4.2"],"provider":"nvd","source":"CVE-2020-5236","relation":"self"},{"ecosystem":"PyPI","package":"waitress","purl":"pkg:pypi/waitress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.2"},{"fixed":"1.4.3"}]}],"versions":["1.4.2"],"fixed":["1.4.3"],"provider":"osv","source":"GHSA-73m2-3pwg-5fgc","relation":"self"},{"ecosystem":"PyPI","package":"waitress","purl":"pkg:pypi/waitress","ranges":[{"type":"GIT","repo":"https://github.com/Pylons/waitress","events":[{"introduced":"0"},{"fixed":"6e46f9e3f014d64dd7d1e258eaf626e39870ee1f"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.3"}]}],"versions":["0.1","0.2","0.3","0.4","0.5","0.6","0.6.1","0.7","0.8","0.8.1","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.8.10","0.8.11b0","0.9.0b0","0.9.0b1","0.9.0","1.0a1","1.0a2","1.0.0","1.0.1","1.0.2","1.1.0","1.2.0b1","1.2.0b2","1.2.0b3","1.2.0","1.2.1","1.3.0b0","1.3.0","1.3.1","1.4.0","1.4.1","1.4.2"],"fixed":["1.4.3"],"provider":"osv","source":"PYSEC-2020-155","relation":"self"}],"product_status":[{"vendor":"SUSE","product":"HPE Helion OpenStack 8","cpe":"cpe:/o:suse:hpe-helion-openstack:8","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"HPE Helion OpenStack Cloud 8","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Enterprise Storage 5","cpe":"cpe:/o:suse:ses:5","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Enterprise Storage 6","cpe":"cpe:/o:suse:ses:6","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Desktop 15","cpe":"cpe:/o:suse:sled:15","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Desktop 15 SP1","cpe":"cpe:/o:suse:sled:15:sp1","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 15","cpe":"cpe:/o:suse:sle_hpc:15","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 15 SP1","cpe":"cpe:/o:suse:sle_hpc:15:sp1","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Basesystem 15","cpe":"cpe:/o:suse:sle-module-basesystem:15","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Basesystem 15 SP1","cpe":"cpe:/o:suse:sle-module-basesystem:15:sp1","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15","cpe":"cpe:/o:suse:sles:15","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP1","cpe":"cpe:/o:suse:sles:15:sp1","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15","cpe":"cpe:/o:suse:sles_sap:15","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP1","cpe":"cpe:/o:suse:sles_sap:15:sp1","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Manager Proxy 4.0","cpe":"cpe:/o:suse:suse-manager-proxy:4.0","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Manager Retail Branch Server 4.0","cpe":"cpe:/o:suse:suse-manager-retail-branch-server:4.0","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Manager Server 4.0","cpe":"cpe:/o:suse:suse-manager-server:4.0","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 6-LTSS","cpe":"cpe:/o:suse:suse-openstack-cloud-ltss:6","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 7","cpe":"cpe:/o:suse:suse-openstack-cloud:7","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 8","cpe":"cpe:/o:suse:suse-openstack-cloud:8","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 9","cpe":"cpe:/o:suse:suse-openstack-cloud:9","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 8","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:8","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 9","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:9","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 3","cpe":"cpe:/a:redhat:ceph_storage:3","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 4","cpe":"cpe:/a:redhat:ceph_storage:4","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["python3-waitress"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 13 (Queens)","cpe":"cpe:/a:redhat:openstack:13","status":"not_affected","packages":["python-waitress","python2-waitress"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 15 (Stein)","cpe":"cpe:/a:redhat:openstack:15","status":"affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16 (Train)","cpe":"cpe:/a:redhat:openstack:16","status":"affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5236"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2020-5236","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2020-5236","license":"CC-BY-4.0","published_at":"2020-02-04T03:05:14Z","modified_at":"2024-08-04T08:22:09.008Z","summary":"Catastrophic backtracking in regex allows Denial of Service in Waitress","details":"Waitress version 1.4.2 allows a DOS attack When waitress receives a header that contains invalid characters. When a header like \"Bad-header: xxxxxxxxxxxxxxx\\x10\" is received, it will cause the regular expression engine to catastrophically backtrack causing the process to use 100% CPU time and blocking any other interactions. This allows an attacker to send a single request with an invalid header and take the service offline. This issue was introduced in version 1.4.2 when the regular expression was updated to attempt to match the behaviour required by errata associated with RFC7230. The regular expression that is used to validate incoming headers has been updated in version 1.4.3, it is recommended that people upgrade to the new version of Waitress as soon as possible.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","source":"CVE-2020-5236"}],"affected":[{"ecosystem":"CVE","package":"Pylons/Waitress","versions":["= 1.4.2"],"provider":"cvelistv5","source":"CVE-2020-5236","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/Pylons/waitress/security/advisories/GHSA-73m2-3pwg-5fgc"},{"type":"WEB","url":"https://github.com/Pylons/waitress/commit/6e46f9e3f014d64dd7d1e258eaf626e39870ee1f"}]},{"provider":"csaf-suse","source_id":"CVE-2020-5236","relation":"self","url":"https://www.suse.com/security/cve/CVE-2020-5236/","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-02-15T04:03:22Z","modified_at":"2025-10-07T03:07:01Z","summary":"SUSE CVE CVE-2020-5236","details":"SUSE CVE-2020-5236\n\nWaitress version 1.4.2 allows a DOS attack When waitress receives a header that contains invalid characters. When a header like \"Bad-header: xxxxxxxxxxxxxxx\\x10\" is received, it will cause the regular expression engine to catastrophically backtrack causing the process to use 100% CPU time and blocking any other interactions. This allows an attacker to send a single request with an invalid header and take the service offline. This issue was introduced in version 1.4.2 when the regular expression was updated to attempt to match the behaviour required by errata associated with RFC7230. The regular expression that is used to validate incoming headers has been updated in version 1.4.3, it is recommended that people upgrade to the new version of Waitress as soon as possible.","severity":[{"type":"SUSE","score":"moderate","source":"CVE-2020-5236"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"HPE Helion OpenStack 8","cpe":"cpe:/o:suse:hpe-helion-openstack:8","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"HPE Helion OpenStack Cloud 8","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Enterprise Storage 5","cpe":"cpe:/o:suse:ses:5","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Enterprise Storage 6","cpe":"cpe:/o:suse:ses:6","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Desktop 15","cpe":"cpe:/o:suse:sled:15","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Desktop 15 SP1","cpe":"cpe:/o:suse:sled:15:sp1","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 15","cpe":"cpe:/o:suse:sle_hpc:15","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 15 SP1","cpe":"cpe:/o:suse:sle_hpc:15:sp1","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Basesystem 15","cpe":"cpe:/o:suse:sle-module-basesystem:15","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Basesystem 15 SP1","cpe":"cpe:/o:suse:sle-module-basesystem:15:sp1","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15","cpe":"cpe:/o:suse:sles:15","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP1","cpe":"cpe:/o:suse:sles:15:sp1","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15","cpe":"cpe:/o:suse:sles_sap:15","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP1","cpe":"cpe:/o:suse:sles_sap:15:sp1","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Manager Proxy 4.0","cpe":"cpe:/o:suse:suse-manager-proxy:4.0","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Manager Retail Branch Server 4.0","cpe":"cpe:/o:suse:suse-manager-retail-branch-server:4.0","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE Manager Server 4.0","cpe":"cpe:/o:suse:suse-manager-server:4.0","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 6-LTSS","cpe":"cpe:/o:suse:suse-openstack-cloud-ltss:6","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 7","cpe":"cpe:/o:suse:suse-openstack-cloud:7","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 8","cpe":"cpe:/o:suse:suse-openstack-cloud:8","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 9","cpe":"cpe:/o:suse:suse-openstack-cloud:9","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 8","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:8","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 9","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:9","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5236"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2020-5236"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1162656"}]},{"provider":"nvd","source_id":"CVE-2020-5236","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5236","severity":[],"affected":[{"ecosystem":"NVD","package":"agendaless:waitress","versions":["1.4.2"],"provider":"nvd","source":"CVE-2020-5236","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-73m2-3pwg-5fgc","relation":"self","url":"https://osv.dev/vulnerability/GHSA-73m2-3pwg-5fgc","license":"CC-BY-4.0","published_at":"2020-02-04T03:07:31Z","modified_at":"2026-09-10T03:49:25.209471Z","summary":"Catastrophic backtracking in regex allows Denial of Service in Waitress","details":"### Impact\n\nWhen waitress receives a header that contains invalid characters it will cause the regular expression engine to catastrophically backtrack causing the process to use 100% CPU time and blocking any other interactions.\n\nThis would allow an attacker to send a single request with an invalid header and take the service offline.\n\nInvalid header example:\n\n```\nBad-header: xxxxxxxxxxxxxxx\\x10\n```\n\nIncreasing the number of `x`'s in the header will increase the amount of time Waitress spends in the regular expression engine.\n\nThis issue was introduced in version 1.4.2 when the regular expression was updated to attempt to match the behaviour required by errata associated with RFC7230.\n\n### Patches\n\nThe regular expression that is used to validate incoming headers has been updated in version 1.4.3, it is recommended that people upgrade to the new version of Waitress as soon as possible.\n\n### Workarounds\n\nIf you have deployed a reverse proxy in front of Waitress it may already be rejecting requests that include invalid headers.\n\n### Thanks\n\nThe Pylons Project would like to thank [Fil Zembowicz](https://github.com/fzembow) for reaching out and disclosing this vulnerability!\n\n### References\n\nCatastrophic backtracking explained: https://www.regular-expressions.info/catastrophic.html\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n- open an issue at https://github.com/Pylons/waitress/issues (if not sensitive or security related)\n- email the Pylons Security mailing list: pylons-project-security@googlegroups.com (if security related)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","source":"GHSA-73m2-3pwg-5fgc"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"GHSA-73m2-3pwg-5fgc"}],"affected":[{"ecosystem":"PyPI","package":"waitress","purl":"pkg:pypi/waitress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.2"},{"fixed":"1.4.3"}]}],"versions":["1.4.2"],"fixed":["1.4.3"],"provider":"osv","source":"GHSA-73m2-3pwg-5fgc","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/Pylons/waitress/security/advisories/GHSA-73m2-3pwg-5fgc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5236"},{"type":"WEB","url":"https://github.com/Pylons/waitress/commit/6e46f9e3f014d64dd7d1e258eaf626e39870ee1f"},{"type":"PACKAGE","url":"https://github.com/Pylons/waitress"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/waitress/PYSEC-2020-155.yaml"}]},{"provider":"osv","source_id":"PYSEC-2020-155","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2020-155","license":"CC-BY-4.0","published_at":"2020-02-04T03:15:00Z","modified_at":"2023-11-08T04:03:52.47984Z","details":"Waitress version 1.4.2 allows a DOS attack When waitress receives a header that contains invalid characters. When a header like \"Bad-header: xxxxxxxxxxxxxxx\\x10\" is received, it will cause the regular expression engine to catastrophically backtrack causing the process to use 100% CPU time and blocking any other interactions. This allows an attacker to send a single request with an invalid header and take the service offline. This issue was introduced in version 1.4.2 when the regular expression was updated to attempt to match the behaviour required by errata associated with RFC7230. The regular expression that is used to validate incoming headers has been updated in version 1.4.3, it is recommended that people upgrade to the new version of Waitress as soon as possible.","severity":[],"affected":[{"ecosystem":"PyPI","package":"waitress","purl":"pkg:pypi/waitress","ranges":[{"type":"GIT","repo":"https://github.com/Pylons/waitress","events":[{"introduced":"0"},{"fixed":"6e46f9e3f014d64dd7d1e258eaf626e39870ee1f"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.3"}]}],"versions":["0.1","0.2","0.3","0.4","0.5","0.6","0.6.1","0.7","0.8","0.8.1","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.8.10","0.8.11b0","0.9.0b0","0.9.0b1","0.9.0","1.0a1","1.0a2","1.0.0","1.0.1","1.0.2","1.1.0","1.2.0b1","1.2.0b2","1.2.0b3","1.2.0","1.2.1","1.3.0b0","1.3.0","1.3.1","1.4.0","1.4.1","1.4.2"],"fixed":["1.4.3"],"provider":"osv","source":"PYSEC-2020-155","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/Pylons/waitress/security/advisories/GHSA-73m2-3pwg-5fgc"},{"type":"FIX","url":"https://github.com/Pylons/waitress/commit/6e46f9e3f014d64dd7d1e258eaf626e39870ee1f"}]},{"provider":"redhat-vex","source_id":"CVE-2020-5236","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2020-5236","license":"CC-BY-4.0","published_at":"2020-02-03T00:00:00Z","modified_at":"2024-06-04T10:50:17Z","summary":"waitress: header with invalid characters can lead to DoS","details":"A flaw was found in the regex used to process HTTP Headers in python-waitress and is vulnerable to catastrophic backtracking. This flaw allows an attacker with the ability to send HTTP requests to a vulnerable server to cause a denial of service attack.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2020-5236"},{"type":"Red Hat","score":"Moderate","source":"CVE-2020-5236"}],"affected":[{"ecosystem":"Red Hat:openstack:15","package":"python-waitress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2020-5236","relation":"self"},{"ecosystem":"Red Hat:openstack:15","package":"python3-waitress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2020-5236","relation":"self"},{"ecosystem":"Red Hat:openstack:16","package":"python-waitress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2020-5236","relation":"self"},{"ecosystem":"Red Hat:openstack:16","package":"python3-waitress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2020-5236","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Ceph Storage 3","cpe":"cpe:/a:redhat:ceph_storage:3","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 4","cpe":"cpe:/a:redhat:ceph_storage:4","status":"not_affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["python3-waitress"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 13 (Queens)","cpe":"cpe:/a:redhat:openstack:13","status":"not_affected","packages":["python-waitress","python2-waitress"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 15 (Stein)","cpe":"cpe:/a:redhat:openstack:15","status":"affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16 (Train)","cpe":"cpe:/a:redhat:openstack:16","status":"affected","packages":["python-waitress","python3-waitress"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2020-5236"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"not_affected","packages":["python-waitress"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5236"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-5236.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-5236"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1831068"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-5236"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5236"},{"type":"WEB","url":"https://docs.pylonsproject.org/projects/waitress/en/latest/#id1"}]}],"references":[{"type":"WEB","url":"https://github.com/Pylons/waitress/security/advisories/GHSA-73m2-3pwg-5fgc"},{"type":"WEB","url":"https://github.com/Pylons/waitress/commit/6e46f9e3f014d64dd7d1e258eaf626e39870ee1f"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2020-5236"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1162656"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5236"},{"type":"PACKAGE","url":"https://github.com/Pylons/waitress"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/waitress/PYSEC-2020-155.yaml"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-5236.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-5236"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1831068"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-5236"},{"type":"WEB","url":"https://docs.pylonsproject.org/projects/waitress/en/latest/#id1"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2020-5236","url":"https://www.cve.org/CVERecord?id=CVE-2020-5236","license":"CC-BY-4.0","modified_at":"2024-08-04T08:22:09.008Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2020-5236","url":"https://www.suse.com/security/cve/CVE-2020-5236/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-10-07T03:07:01Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2020-5236","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5236","relation":"self"},{"provider":"osv","source_id":"GHSA-73m2-3pwg-5fgc","url":"https://osv.dev/vulnerability/GHSA-73m2-3pwg-5fgc","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:25.209471Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2020-155","url":"https://osv.dev/vulnerability/PYSEC-2020-155","license":"CC-BY-4.0","modified_at":"2023-11-08T04:03:52.47984Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2020-5236","url":"https://access.redhat.com/security/cve/CVE-2020-5236","license":"CC-BY-4.0","modified_at":"2024-06-04T10:50:17Z","relation":"self"}]}
