CVE-2018-1114 Uncontrolled Resource Consumption in Undertow

Medium 6.5 Published Updated

Attackers can exhaust file descriptors in Undertow by triggering URLResource.getLastModified(), causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1114?

CVE-2018-1114 is a medium-severity denial of service vulnerability in Redhat Virtualization, published on 11 Sep 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

It was found that URLResource.getLastModified() in Undertow closes the file descriptors only when they are finalized which can cause file descriptors to exhaust. This leads to a file handler leak.

Weakness: CWE-400

Which versions are affected by CVE-2018-1114?

4 open source packages ship an affected version, including io.undertow:undertow-core. It affects 3 products.

PackageAffectedFixed in
io.undertow:undertow-core MavenAll versions1.4.25.Final
io.undertow:undertow-core MavenAll versions1.4.25.Final
io.undertow:undertow-core MavenFrom 2.0.0.Alpha12.0.5.Final
io.undertow:undertow-core MavenFrom 2.0.0.Alpha12.0.5.Final

Products include Redhat Undertow, Redhat Virtualization, Redhat Virtualization Host.

How do I fix CVE-2018-1114?

Upgrade io.undertow:undertow-core to a fixed version for your release line: 1.4.25.Final or 2.0.5.Final.

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-1114 being exploited?

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

All Redhat Virtualization vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-1114, GHSA-gjjx-gqm4-wcgm, UBUNTU-CVE-2018-1114.

Is CVE-2018-1114 in your software?

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

Check your SBOMs for free