Mailing List Archive

[ GLSA 202012-22 ] HAProxy: Arbitrary code execution
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202012-22
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: HAProxy: Arbitrary code execution
Date: December 24, 2020
Bugs: #715944
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
-------------------------------------------------------------------
1 net-proxy/haproxy < 2.1.4 >= 2.0.13:0/2.0
>= 2.1.4

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
==========

[ 1 ] CVE-2020-11100
https://nvd.nist.gov/vuln/detail/CVE-2020-11100

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

https://security.gentoo.org/glsa/202012-22

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 2020 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.

https://creativecommons.org/licenses/by-sa/2.5