Memory leak in Undertow for Wildfly Application Server



Published: 2018-09-11 | Updated: 2019-08-13
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-1114
CWE-ID CWE-401
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Undertow
Server applications / Web servers

Vendor Red Hat Inc.

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Memory leak

EUVDB-ID: #VU20069

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-1114

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform DoS attack on the target system.

The vulnerability exists due memory leak in URLResource.getLastModified() function in Undertow due to the method closes file descriptors only when they are finalized. A remote attacker can initiate opening of numerous URLs and exhaust all file descriptors, leading to a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Undertow: 2.0.0 - 2.0.4

External links

http://access.redhat.com/errata/RHSA-2018:2643
http://access.redhat.com/errata/RHSA-2018:2669
http://access.redhat.com/errata/RHSA-2019:0877
http://bugs.openjdk.java.net/browse/JDK-6956385
http://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1114
http://issues.jboss.org/browse/UNDERTOW-1338


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###