cve.bz

CVE-2018-20615 Out-of-bounds Read

7.5 highEPSS 4.5%

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

On this page
An out-of-bounds read issue was discovered in the HTTP/2 protocol decoder in HAProxy 1.8.x and 1.9.x through 1.9.0 which can result in a crash. The processing of the PRIORITY flag in a HEADERS frame requires 5 extra bytes, and while these bytes are skipped, the total frame length was not re-checked to make sure they were present in the frame.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
4.5% (unchanged from 4.5% a week ago; 4.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd 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-20615 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20615?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20615?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-20615 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:haproxyfrom 1.8.0 through 1.8.19
haproxy:haproxy1.9.0
haproxy:haproxy1.9.0:dev0
haproxy:haproxy1.9.0:dev1
haproxy:haproxy1.9.0:dev10
haproxy:haproxy1.9.0:dev11
haproxy:haproxy1.9.0:dev2
haproxy:haproxy1.9.0:dev3
haproxy:haproxy1.9.0:dev4
haproxy:haproxy1.9.0:dev5
haproxy:haproxy1.9.0:dev6
haproxy:haproxy1.9.0:dev7
haproxy:haproxy1.9.0:dev8
haproxy:haproxy1.9.0:dev9
opensuse:leap15.0
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
redhat:openshift_container_platform3.11
redhat:enterprise_linux7.0
redhat:enterprise_linux7.4
redhat:enterprise_linux7.5
redhat:enterprise_linux7.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14haproxy1.8.16-2DEBIAN-CVE-2018-20615
Ubuntu16.04:LTShaproxy1.6.3-1ubuntu0.2USN-3858-1
Ubuntu18.04:LTShaproxy1.8.8-1ubuntu0.3UBUNTU-CVE-2018-20615 USN-3858-1
Red Hatopenshift:3.9::el7haproxy, haproxy18, haproxy-debuginfo0:1.8.17-3.el7RHSA-2019:0547
Red Hatopenshift:3.10::el7haproxy, haproxy18, haproxy-debuginfo0:1.8.17-3.el7RHSA-2019:0548
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
10 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15haproxy1.8.17~git0.e89d25b2-3.9.1SUSE-SU-2019:0232-1
openSUSETumbleweedhaproxy2.4.4+git0.acb1d0bea-1.2openSUSE-SU-2024:10839-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 · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

HTTP/2 support was added to haproxy in version 1.8, therefore OpenShift Container Platform (OCP) 3.7 and earlier are unaffected by this flaw, see [1]. OCP 3.11 added a configuration option to ose-haproxy-router that made enabling HTTP/2 support easy, [2]. Prior to that, in versions OCP 3.9 and 3.10, an administrator had to customize the haproxy router configuration to add HTTP/2 support, [3]. OCP 3.9, and 3.10 are rated as moderate because HTTP/2 support was not a standard configuration option, and therefore unlikely to be enabled.

Versions of haproxy included in Red Hat Enterprise Linux 6 and 7, excluding rh-haproxy18-haproxy in Red Hat Software Collections, are unaffected as they package versions of haproxy before 1.7.

[1] http://www.haproxy.org/news.html

[2] https://github.com/openshift/origin/pull/19968

[3] https://docs.openshift.com/container-platform/3.10/install_config/router/customized_haproxy_router.html

Red Hat's mitigation

HTTP/2 support is disabled by default on OpenShift Container Platform 3.11. To mitigate this vulnerability keep it disabled. You can verify if HTTP/2 support is enabled by following the instructions in the upstream pull request, [1].

[1] https://github.com/openshift/origin/pull/19968

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.10haproxy-0:1.8.17-3.el7Fixed 2019-03-14RHSA-2019:0548
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 Enterprise Linux 6haproxyNot affected
Red Hat Enterprise Linux 7haproxyNot affected
Red Hat Enterprise Linux 8haproxyNot affected
Red Hat OpenShift Container Platform 3.7haproxyNot affected
Red Hat OpenShift Container Platform 4haproxyNot affected
Red Hat OpenStack Platform 12 (Pike)rhosp12/openstack-haproxyOut of support scope
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-haproxyNot affected
Red Hat OpenStack Platform 14 (Rocky)openstack-haproxy-containerNot affected
13 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-20615.

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