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

    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 ID SNYK-JAVA-IOUNDERTOW-72304
  • published 11 Sep 2018
  • disclosed 24 Apr 2018
  • credit Unknown

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
Expand this section

Snyk

Recommended
6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High