CVE-2023-42794

Severity

6.5

Description

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.

Mitigation

We recommend upgrading to a version of this component that is not vulnerable to this specific issue.

Note: If this component is included as a bundled/transitive dependency of another component, there may not be an upgrade path. In this instance, we recommend contacting the maintainers who included the vulnerable package. Alternatively, we recommend investigating alternative components or a potential mitigating control.

Related links:

Project
Category

CWE-459 Incomplete Cleanup

Tags

data, operational

Date Disclosed

2023-10-10

Date Discovered

2023-09-14

Apache Tomcat 9.0.x

First release:

2018-01-18

Support Lifecycle:

Maintenance Support

Namespace:

javax

9.0.70 9.0.71 9.0.72 9.0.73 9.0.74 9.0.75 9.0.76 9.0.78 9.0.79 9.0.80

Apache Tomcat 8.5.x

First release:

2016-06-13

Support Lifecycle:

Maintenance Support

Namespace:

javax

8.5.85 8.5.86 8.5.87 8.5.88 8.5.91 8.5.92 8.5.93

Apache TomEE 8.0.x

First release:

2019-09-13

Support Lifecycle:

Full Support

Namespace:

javax

8.0.14 8.0.15