File Handler Leak Affecting io.undertow:undertow-core package, versions [,2.0.5.Final)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-IOUNDERTOW-72304
  • published11 Sept 2018
  • disclosed24 Apr 2018
  • creditUnknown

Introduced: 24 Apr 2018

CVE-2018-1114  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade io.undertow:undertow-core to version 2.0.5 or higher.

Overview

io.undertow:undertow-core is a High performance non-blocking webserver.

Affected versions of this package are vulnerable to File Handler Leak via the URLResource.getLastModified() method. It closes the file descriptors only when they are finalized which can cause file descriptors to exhaust.

CVSS Scores

version 3.1