Integer Overflow or Wraparound Affecting haproxy package, versions <2.2.9-1ubuntu0.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.87% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2104-HAPROXY-1583524
  • published8 Sept 2021
  • disclosed8 Sept 2021

Introduced: 8 Sep 2021

CVE-2021-40346  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:21.04 haproxy to version 2.2.9-1ubuntu0.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream haproxy package and not the haproxy package as distributed by Ubuntu. See How to fix? for Ubuntu:21.04 relevant fixed versions and status.

An integer overflow exists in HAProxy 2.0 through 2.5 in htx_add_header that can be exploited to perform an HTTP request smuggling attack, allowing an attacker to bypass all configured http-request HAProxy ACLs and possibly other ACLs.

References

CVSS Scores

version 3.1