Improper Input Validation Affecting haproxy package, versions [2.2.0,2.2.16)[2.3.0,2.3.13)[2.4.0,2.4.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.59% (79th 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-UNMANAGED-HAPROXY-2317773
  • published14 Dec 2021
  • disclosed17 Aug 2021
  • creditUnknown

Introduced: 17 Aug 2021

CVE-2021-39240  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade haproxy to version 2.2.16, 2.3.13, 2.4.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. An issue was discovered in HAProxy 2.2 before 2.2.16, 2.3 before 2.3.13, and 2.4 before 2.4.3. It does not ensure that the scheme and path portions of a URI have the expected characters. For example, the authority field (as observed on a target HTTP/2 server) might differ from what the routing rules were intended to achieve.

References

CVSS Scores

version 3.1