USN-7431-1: HAProxy vulnerability

Publication date

10 April 2025

Overview

HAProxy could be made to crash or run programs if it received specially crafted network traffic.


Packages

  • haproxy - fast and reliable load balancing reverse proxy

Details

Aleandro Prudenzano and Edoardo Geraci discovered that HAProxy incorrectly
handled certain uncommon configurations that replace multiple short
patterns with a longer one. A remote attacker could use this issue to cause
HAProxy to crash, resulting in a denial of service, or possibly execute
arbitrary code.

Aleandro Prudenzano and Edoardo Geraci discovered that HAProxy incorrectly
handled certain uncommon configurations that replace multiple short
patterns with a longer one. A remote attacker could use this issue to cause
HAProxy to crash, resulting in a denial of service, or possibly execute
arbitrary code.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.10 oracular haproxy –  2.9.10-1ubuntu1.2
24.04 noble haproxy –  2.8.5-1ubuntu3.3
22.04 jammy haproxy –  2.4.24-0ubuntu0.22.04.2

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›