Out-of-bounds Read Affecting haproxy package, versions [,1.8.15)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.86% (83rd 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-2317782
  • published14 Dec 2021
  • disclosed12 Dec 2018
  • creditUnknown

Introduced: 12 Dec 2018

CVE-2018-20102  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade haproxy to version 1.8.15 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. An out-of-bounds read in dns_validate_dns_response in dns.c was discovered in HAProxy through 1.8.14. Due to a missing check when validating DNS responses, remote attackers might be able read the 16 bytes corresponding to an AAAA record from the non-initialized part of the buffer, possibly accessing anything that was left on the stack, or even past the end of the 8193-byte buffer, depending on the value of accepted_payload_size.

CVSS Scores

version 3.1