GLSA 202004-01: HAProxy: Remote execution of arbitrary code

Severity:high
Title:HAProxy: Remote execution of arbitrary code
Date:04/01/2020
Bugs: #701842
ID:202004-01

Synopsis

A vulnerability in HAProxy might lead to remote execution of 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.0.10 >= 1.8.23 All supported architectures

Description

It was discovered that HAProxy incorrectly handled certain HTTP/2 headers.

Impact

A remote attacker could send a specially crafted HTTP/2 header, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All HAProxy 1.8.x users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=net-proxy/haproxy-1.8.23"
    

All HAProxy 1.9.x users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=net-proxy/haproxy-1.9.13"

All HAProxy 2.0.x users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=net-proxy/haproxy-2.0.10"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202004-01.xml

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.

Thank you!