cve.bz

CVE-2018-20102 Out-of-bounds Read

7.5 highEPSS 4.2%

High (7.5). EPSS 4.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
4.2% (unchanged from 4.2% a week ago; 4.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-20102 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20102?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20102?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-20102 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
haproxy:haproxythrough 1.8.14
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
redhat:openshift_container_platform3.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9haproxy1.7.5-2+deb9u1DLA-3034-1
Debian12, 13, 14haproxy1.8.15-1DEBIAN-CVE-2018-20102
Ubuntu16.04:LTShaproxy1.6.3-1ubuntu0.2UBUNTU-CVE-2018-20102 USN-3858-1
Ubuntu18.04:LTShaproxy1.8.8-1ubuntu0.3UBUNTU-CVE-2018-20102 USN-3858-1
Red Hatopenshift:3.9::el7haproxy, haproxy18, haproxy-debuginfo0:1.8.17-3.el7RHSA-2019:0547
Red Hatopenshift:3.11::el7atomic-enterprise-service-catalog, atomic-enterprise-service-catalog-svcat1:3.11.82-1.git.1673.133961e.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift, atomic-openshift-pod, atomic-openshift-node and 10 more0:3.11.82-1.git.0.08bc31b.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-cluster-autoscaler0:3.11.82-1.git.0.efb6af0.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-descheduler0:3.11.82-1.git.300.89765c9.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-dockerregistry0:3.11.82-1.git.452.0ce6383.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-metrics-server0:3.11.82-1.git.52.2fdca3f.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-node-problem-detector0:3.11.82-1.git.254.a448936.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-service-idler0:3.11.82-1.git.14.e353758.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-web-console0:3.11.82-1.git.355.5e8b1d9.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7golang-github-openshift-oauth-proxy0:3.11.82-1.git.425.7cac034.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7haproxy, haproxy18, haproxy-debuginfo0:1.8.17-3.el7RHBA-2019:0326
9 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15haproxy1.8.15~git0.6b6a350a-3.6.2SUSE-SU-2019:0061-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue did not affect the versions of haproxy as shipped with Red Hat Enterprise Linux 6 and 7.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.11atomic-enterprise-service-catalog-1:3.11.82-1.git.1673.133961e.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-0:3.11.82-1.git.0.08bc31b.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-cluster-autoscaler-0:3.11.82-1.git.0.efb6af0.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-descheduler-0:3.11.82-1.git.300.89765c9.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-dockerregistry-0:3.11.82-1.git.452.0ce6383.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-metrics-server-0:3.11.82-1.git.52.2fdca3f.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-node-problem-detector-0:3.11.82-1.git.254.a448936.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-service-idler-0:3.11.82-1.git.14.e353758.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-web-console-0:3.11.82-1.git.355.5e8b1d9.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11golang-github-openshift-oauth-proxy-0:3.11.82-1.git.425.7cac034.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11golang-github-prometheus-alertmanager-0:3.11.82-1.git.0.3bf41ce.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11golang-github-prometheus-node_exporter-0:3.11.82-1.git.1063.48444e8.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11golang-github-prometheus-prometheus-0:3.11.82-1.git.5027.9d24833.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11haproxy-0:1.8.17-3.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11jenkins-0:2.150.2.1549032159-1.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat Enterprise Linux 6haproxyNot affected
Red Hat Enterprise Linux 7haproxyNot affected
Red Hat Enterprise Linux 8haproxyNot affected
Red Hat OpenShift Container Platform 3.10haproxyAffected
Red Hat OpenShift Container Platform 3.7haproxyWill not fix
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-20102.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON