CVE Vulnerabilities

CVE-2023-42794

Incomplete Cleanup

Published: Oct 10, 2023 | Modified: Dec 11, 2023
CVSS 3.x
5.9
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
5.9 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

Incomplete Cleanup vulnerability in Apache Tomcat.

The internal fork of Commons FileUpload packaged with Apache Tomcat 9.0.70 through 9.0.80 and 8.5.85 through 8.5.93 included an unreleased, in progress refactoring that exposed a potential denial of service on Windows if a web application opened a stream for an uploaded file but failed to close the stream. The file would never be deleted from disk creating the possibility of an eventual denial of service due to the disk being full.

Users are recommended to upgrade to version 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.

Weakness

The product does not properly “clean up” and remove temporary or supporting resources after they have been used.

Affected Software

Name Vendor Start Version End Version
Tomcat Apache 8.5.85 (including) 8.5.94 (excluding)
Tomcat Apache 9.0.70 (including) 9.0.81 (excluding)
Red Hat Enterprise Linux 8 RedHat tomcat-1:9.0.62-27.el8_9.2 *
Red Hat Enterprise Linux 9 RedHat tomcat-1:9.0.62-37.el9_3.1 *
Red Hat Fuse 7.12.1 RedHat tomcat *
Red Hat JBoss Web Server 5 RedHat *
Tomcat10 Ubuntu bionic *
Tomcat10 Ubuntu lunar *
Tomcat10 Ubuntu mantic *
Tomcat10 Ubuntu trusty *
Tomcat10 Ubuntu xenial *
Tomcat8 Ubuntu bionic *
Tomcat8 Ubuntu trusty *
Tomcat8 Ubuntu xenial *
Tomcat9 Ubuntu bionic *
Tomcat9 Ubuntu lunar *
Tomcat9 Ubuntu mantic *
Tomcat9 Ubuntu trusty *
Tomcat9 Ubuntu xenial *

Potential Mitigations

References