CVE-2019-18277
A flaw was found in HAProxy before 2.0.6. In legacy mode, messages featuring a transfer-encoding header missing the "chunked" value were not being correctly rejected. The impact was limited but if combined with the "http-reuse always" setting, it could be used to help construct an HTTP request smuggling attack against a vulnerable component employing a lenient parser that would ignore the content-length header as soon as it saw a transfer-encoding one (even if not entirely valid according to the specification).
What to do
Likely to be exploited: EPSS gives a 10% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | haproxy | Fixed | 1.8.8-1ubuntu0.7 | UBUNTU-CVE-2019-18277 |
| Ubuntu 16.04 | haproxy | Fixed | 1.6.3-1ubuntu0.3 | UBUNTU-CVE-2019-18277 |
| Ubuntu 14.04 | haproxy | Fix pending | ||
| Debian 14 | haproxy | Fixed | 2.0.6-1 | DEBIAN-CVE-2019-18277 |
| Debian 13 | haproxy | Fixed | 2.0.6-1 | DEBIAN-CVE-2019-18277 |
| Debian 12 | haproxy | Fixed | 2.0.6-1 | DEBIAN-CVE-2019-18277 |
| Red Hat Enterprise Linux 8 | haproxy | Fixed | 0:1.8.23-3.el8 | RHSA-2020:1725 |
| Red Hat Enterprise Linux 7 | haproxy | Not affected | ||
| Red Hat Enterprise Linux 6 | haproxy | Not affected |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://usn.ubuntu.com/4174-1/ (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00016.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00019.html (vendor-advisory)
References
- https://www.mail-archive.com/haproxy%40formilux.org/msg34926.html
- https://nathandavison.com/blog/haproxy-http-request-smuggling
- https://git.haproxy.org/?p=haproxy-2.0.git%3Ba=commit%3Bh=196a7df44d8129d1adc795da020b722614d6a581
- https://usn.ubuntu.com/4174-1/
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00019.html
- https://lists.debian.org/debian-lts-announce/2022/05/msg00045.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.