Description
In hpack_dht_insert in hpack-tbl.c in the HPACK decoder in HAProxy 1.8 through 2.x before 2.1.4, a remote attacker can write arbitrary bytes around a certain location on the heap via a crafted HTTP/2 request, possibly causing remote code execution.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | haproxy | 2.0.13-2 | — |
| Debian 13 | haproxy | 2.0.13-2 | — |
| Debian 12 | haproxy | 2.0.13-2 | — |
| Debian 10 | haproxy | 1.8.19-1+deb10u2 | DSA-4649-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | haproxy | 1.8.8-1ubuntu0.10 | USN-4321-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | haproxy | 1.8.15-6.el8_1.1 | RHSA-2020:1288 |
| RHEL 3 | rh-haproxy18-haproxy +1 | 1.8.17-1.el7.1 | RHSA-2020:1290 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.0 E4S | haproxy | 1.8.15-5.el8_0.1 | RHSA-2020:1289 |
| Red Hat OpenShift 4 | haproxy +1 | 2.0.13-3.el7 | RHSA-2020:1936 |
| Red Hat OpenShift 3 | haproxy +1 | 1.8.23-3.el7 | RHSA-2020:1287 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | haproxy | 2.0.10+git0.ac198b92-8.12.1 | SUSE-SU-2020:0851-1 |
| SLES 15 | haproxy | 2.0.10+git0.ac198b92-3.19.1 | SUSE-SU-2020:0852-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | haproxy | 2.4.4+git0.acb1d0bea-1.2 | openSUSE-SU-2024:10839-1 |
| openSUSE Leap 15.1 | haproxy | 2.0.10+git0.ac198b92-lp151.2.9.1 | openSUSE-SU-2020:0444-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | haproxy | 2.1.4-r0 | — |
| Alpine v3.23 | haproxy | 2.1.4-r0 | — |
| Alpine v3.22 | haproxy | 2.1.4-r0 | — |
| Alpine v3.21 | haproxy | 2.1.4-r0 | — |
| Alpine v3.20 | haproxy | 2.1.4-r0 | — |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | haproxy | 2.1.4-r0 | — |
| Alpine v3.18 | haproxy | 2.1.4-r0 | — |
| Alpine v3.17 | haproxy | 2.1.4-r0 | — |
| Alpine v3.16 | haproxy | 2.1.4-r0 | — |
| Alpine v3.15 | haproxy | 2.1.4-r0 | — |
| Alpine v3.14 | haproxy | 2.1.4-r0 | — |
| Alpine v3.13 | haproxy | 2.1.4-r0 | — |
| Alpine v3.12 | haproxy | 2.1.4-r0 | — |
| Alpine v3.11 | haproxy | 2.0.14-r0 | — |
| Alpine v3.10 | haproxy | 2.0.14-r0 | — |
| Alpine v3.9 | haproxy | 1.8.25-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | haproxy | 1.8.15-6.el8_1.1 | ELSA-2020-1288 |
Advisories 14
- WID-SEC-2024-0054 IBM Security Verify Access: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 16, 2026
- RHSA-2020:1936 Red Hat Security Advisory: OpenShift Container Platform 4.4.3 haproxy security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2020:1290 Red Hat Security Advisory: rh-haproxy18-haproxy security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2020:1289 Red Hat Security Advisory: haproxy security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2020:1287 Red Hat Security Advisory: OpenShift Container Platform 3.11 security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2020:1288 Red Hat Security Advisory: haproxy security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- DSA-4649-1 haproxy - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-4321-1 haproxy vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2020:0852-1 Security update for haproxy SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10839-1 haproxy-2.4.4+git0.acb1d0bea-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0851-1 Security update for haproxy SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0444-1 Security update for haproxy SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2475 Red Hat Enterprise Linux: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode mit den Rechten des Dienstes BSI CERT-Bund (WID) · Sep 27, 2023
- ELSA-2020-1288 Critical: haproxy security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 2, 2020
References
- http://www.haproxy.org
- https://www.haproxy.org/download/2.1/src/CHANGELOG
- https://lists.debian.org/debian-security-announce/2020/msg00052.html
- https://www.mail-archive.com/haproxy%40formilux.org/msg36876.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1819111
- https://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=5dfc5d5cd0d2128d77253ead3acf03a421ab5b88
- https://bugzilla.suse.com/show_bug.cgi?id=1168023
- openSUSE-SU-2020:0444 vendor-advisory
- FEDORA-2020-16cd111544 vendor-advisory
- DSA-4649 vendor-advisory
- USN-4321-1 vendor-advisory
- http://packetstormsecurity.com/files/157323/haproxy-hpack-tbl.c-Out-Of-Bounds-Write.html
- FEDORA-2020-13fd8b1721 vendor-advisory
- GLSA-202012-22 vendor-advisory