USN-7431-2: HAProxy vulnerability

Publication date

23 April 2025

Overview

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

Releases


Packages

  • haproxy - fast and reliable load balancing reverse proxy

Details

USN-7431-1 fixed a vulnerability in HAProxy. This update provides the
corresponding update for Ubuntu 25.04.

Original advisory 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.

USN-7431-1 fixed a vulnerability in HAProxy. This update provides the
corresponding update for Ubuntu 25.04.

Original advisory 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.

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
25.04 plucky haproxy –  3.0.8-1ubuntu1.1

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 ›