CVE-2018-14645 Denial of service in haproxy

High 7.5 Published Updated

A remote attacker can cause a denial of service in HAProxy via an out-of-bounds read in the HTTP/2 HPACK decoder.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-14645?

CVE-2018-14645 is a high-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 21 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was discovered in the HPACK decoder of HAProxy, before 1.8.14, that is used for HTTP/2. An out-of-bounds read access in hpack_valid_idx() resulted in a remote crash and denial of service.

Weakness: CWE-125

Which versions are affected by CVE-2018-14645?

It affects 5 products.

Linux distribution packages (31)
atomic-openshift Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-clients Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-clients-redistributable Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-cluster-capacity Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-docker-excluder Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-dockerregistry Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.353.1da3b27.el7
atomic-openshift-excluder Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-federation-services Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-master Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-node Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-pod Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-sdn-ovs Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-service-catalog Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-template-service-broker Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-tests Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f8b38ff.el7
atomic-openshift-utils Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f0ebfaa.el7
atomic-openshift-web-console Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.277.be8dbdd.el7
golang-github-prometheus-node_exporter Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.1063.df94c95.el7
haproxy Red Hat:openshift:3.9::el7All versions0:1.8.14-2.el7
haproxy-debuginfo Red Hat:openshift:3.9::el7All versions0:1.8.14-2.el7
haproxy18 Red Hat:openshift:3.9::el7All versions0:1.8.14-2.el7
openshift-ansible Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f0ebfaa.el7
openshift-ansible-docs Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f0ebfaa.el7
openshift-ansible-playbooks Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f0ebfaa.el7
openshift-ansible-roles Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.0.f0ebfaa.el7
prometheus-node-exporter Red Hat:openshift:3.9::el7All versions0:3.9.60-1.git.1063.df94c95.el7
rubygem-ffi Red Hat:openshift:3.9::el7All versions0:1.9.25-4.el7_5
rubygem-ffi-debuginfo Red Hat:openshift:3.9::el7All versions0:1.9.25-4.el7_5
rh-haproxy18-haproxy Red Hat:rhel_software_collections:3::el7All versions0:1.8.4-3.el7
rh-haproxy18-haproxy-debuginfo Red Hat:rhel_software_collections:3::el7All versions0:1.8.4-3.el7
rh-haproxy18-haproxy-syspaths Red Hat:rhel_software_collections:3::el7All versions0:1.8.4-3.el7

Products include Canonical Ubuntu Linux, Haproxy Haproxy, Redhat Enterprise Linux, Redhat Openshift, Redhat Openshift Container Platform.

How do I fix CVE-2018-14645?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-14645 being exploited?

There is no known exploitation of CVE-2018-14645 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-14645, GHSA-gr9c-vx25-2fh5, RHBA-2019:0028, RHSA-2018:2882, UBUNTU-CVE-2018-14645, USN-3780-1.

Is CVE-2018-14645 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free