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.
Remediation
References
https://access.redhat.com/errata/RHSA-2018:2643
https://access.redhat.com/errata/RHSA-2018:2669
https://access.redhat.com/errata/RHSA-2019:0877
https://bugs.openjdk.java.net/browse/JDK-6956385
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1114
https://issues.jboss.org/browse/UNDERTOW-1338
Related Vulnerabilities
CVE-2016-4436 Vulnerability in maven package org.apache.struts:struts2-rest-plugin
CVE-2022-22965 Vulnerability in maven package org.springframework:spring-webflux
CVE-2022-37260 Vulnerability in npm package steal
CVE-2023-25569 Vulnerability in maven package com.ctrip.framework.apollo:apollo
CVE-2023-39022 Vulnerability in maven package opensymphony:oscore