Integer Overflow or Wraparound Affecting haproxy package, versions <2.2.9-2ubuntu2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
92.71% (100th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2204-HAPROXY-2775995
  • 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:22.04 haproxy to version 2.2.9-2ubuntu2 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:22.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 Base Scores

version 3.1