GLSA 202012-22: HAProxy: Arbitrary code execution
Severity: | normal |
Title: | HAProxy: Arbitrary code execution |
Date: | 12/24/2020 |
Bugs: |
|
ID: | 202012-22 |
Synopsis
A buffer overflow in HAProxy might allow an attacker to execute arbitrary code.Background
HAProxy is a TCP/HTTP reverse proxy for high availability environments.
Affected packages
Package | Vulnerable | Unaffected | Architecture(s) |
---|---|---|---|
net-proxy/haproxy | < 2.1.4 | >= 2.0.13 | All supported architectures |
Description
It was discovered that HAProxy incorrectly handled certain HTTP/2 headers.
Impact
A remote attacker, by sending a specially crafted HTTP/2 request, could possibly execute arbitrary code with the privileges of the process, or cause a Denial of Service condition.
Workaround
Disable HTTP/2 support.
Resolution
All HAProxy 2.0.x users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-proxy/haproxy-2.0.13:0/2.0"
All other HAProxy users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-proxy/haproxy-2.1.4"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.