CVE-2018-20102: An out-of-bounds read in dns_validate_dns_response in dns.c was discovered in HAProxy through 1.8.14.
High CVSS 7.5
- CVE id
- CVE-2018-20102
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| HAProxy Runtimes and servers |
<= 1.8.14 | after 1.8.14 |
How to fix it
Upgrade HAProxy to a release newer than 1.8.14.
haproxy -v
- Install the patched HAProxy release of your branch (the haproxy image tag or your packages) and reload it.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
An out-of-bounds read in dnsvalidatednsresponse 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 acceptedpayload_size.
References
- CVE-2018-20102 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2018-20102
- Web: https://access.redhat.com/errata/RHBA-2019:0326
- Web: https://access.redhat.com/errata/RHBA-2019:0327
- Web: https://access.redhat.com/errata/RHSA-2019:1436
- Web: https://lists.debian.org/debian-lts-announce/2022/05/msg00045.html
- Web: https://usn.ubuntu.com/3858-1/
- Web: https://access.redhat.com/errata/RHBA-2019:0326
- Web: https://access.redhat.com/errata/RHBA-2019:0327
- Web: https://access.redhat.com/errata/RHSA-2019:1436
- Web: https://lists.debian.org/debian-lts-announce/2022/05/msg00045.html
- Web: https://usn.ubuntu.com/3858-1/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.