CVE-2018-20102
publishedhaproxy: Out-of-bounds read in dns.c:dns_validate_dns_response() allows for memory disclosure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2HAPROXY2-2023-002 | Fixed | Not stated | Amazon Linux assessment |
| Debian | stretch | haproxy | Advisory build | 1.7.5-2+deb9u1 | DLA-3034-1 |
| Red Hat Enterprise Linux | RHEL-7 | rh-haproxy18-haproxysrc | Advisory build | 1.8.17-1.el7 | RHSA-2019:1436 |
| SUSE / openSUSE | SLE-15 | haproxyaarch64 | Advisory build | 1.8.15~git0.6b6a350a-3.6.2 | SUSE-SU-2019:0061-1 |
| Ubuntu | bionic | haproxy | Advisory build | 1.8.8-1ubuntu0.3 | USN-3858-1 |
| Amazon Linux | AL2 | haproxy2aarch64 | Listed in advisory | Not stated | ALAS2HAPROXY2-2023-002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-haproxy18-haproxyx86_64 | Advisory build | 1.8.17-1.el7 | RHSA-2019:1436 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | rh-haproxy18-haproxy-debuginfox86_64 | Advisory build | 1.8.17-1.el7 | RHSA-2019:1436 |
| Red Hat Enterprise Linux | RHEL-7 | rh-haproxy18-haproxy-syspathsx86_64 | Advisory build | 1.8.17-1.el7 | RHSA-2019:1436 |
| SUSE / openSUSE | SLE-15 | haproxyppc64le | Advisory build | 1.8.15~git0.6b6a350a-3.6.2 | SUSE-SU-2019:0061-1 |
| SUSE / openSUSE | SLE-15 | haproxys390x | Advisory build | 1.8.15~git0.6b6a350a-3.6.2 | SUSE-SU-2019:0061-1 |
| SUSE / openSUSE | SLE-15 | haproxyx86_64 | Advisory build | 1.8.15~git0.6b6a350a-3.6.2 | SUSE-SU-2019:0061-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | haproxyx86_64 | Advisory build | 1.8.15~git0.6b6a350a-lp150.2.6.1 | OPENSUSE-SU-2019:0044-1 |
| Ubuntu | bionic | vim-haproxy | Advisory build | 1.8.8-1ubuntu0.3 | USN-3858-1 |
| Ubuntu | xenial | haproxy | Advisory build | 1.6.3-1ubuntu0.2 | USN-3858-1 |
| Ubuntu | xenial | vim-haproxy | Advisory build | 1.6.3-1ubuntu0.2 | USN-3858-1 |
| Amazon Linux | AL2 | haproxy2i686 | Listed in advisory | Not stated | ALAS2HAPROXY2-2023-002 |
| Amazon Linux | AL2 | haproxy2src | Listed in advisory | Not stated | ALAS2HAPROXY2-2023-002 |
| Amazon Linux | AL2 | haproxy2x86_64 | Listed in advisory | Not stated | ALAS2HAPROXY2-2023-002 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- http://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=efbbdf72992cd20458259962346044cafd9331c0
- 106223 http://www.securityfocus.com/bid/106223
- RHBA-2019:0326 https://access.redhat.com/errata/RHBA-2019:0326
- RHBA-2019:0327 https://access.redhat.com/errata/RHBA-2019:0327
- RHSA-2019:1436 https://access.redhat.com/errata/RHSA-2019:1436
- [debian-lts-announce] 20220530 [SECURITY] [DLA 3034-1] haproxy security update https://lists.debian.org/debian-lts-announce/2022/05/msg00045.html
- USN-3858-1 https://usn.ubuntu.com/3858-1/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f31051ffb17c290e535a53a97cd22024f116a40b896dd7abea69476fc35c35da
- Ingested
- 23 Sep 2026, 07:44:20 UTC
- Source record
- Official CVE record