Skip to content
OpenAdvisories
Medium · 5.9 CVE-2023-42794 BIT-tomcat-2023-42794EUVD-2023-2763GHSA-jm7m-8jh6-29hp

Apache Tomcat: FileUpload: DoS due to accumulation of temporary files on Windows

Published Oct 10, 2023 · Updated Oct 8, 2026 · Assigned by apache

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.

Other, EOL versions may also be affected.

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

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Tomcat 9.0.70 – ≤ 9.0.80, 8.5.85 – ≤ 8.5.93 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 9 tomcat +7 1:9.0.62-37.el9_3.1 RHSA-2024:0474
RHEL 8 tomcat +7 1:9.0.62-27.el8_9.2 RHSA-2024:0125

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 tomcat +7 1:9.0.62-37.el9_3.1 ALSA-2024:0474
AlmaLinux 8 tomcat +7 1:9.0.62-27.el8_9.2 ALSA-2024:0125
ReleasePackageFixed inAdvisory
SLES 15 SP5 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1
SLES 15 SP4 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1
SLES 15 SP3 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1
SLES 15 SP2 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1
SLES for SAP 15 SP3 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1
SLES for SAP 15 SP2 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1
SLE HPC 15 SP4 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1
SLE HPC 15 SP3 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1
SLE HPC 15 SP2 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1
SUSE Manager Server 4.3 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1
SUSE Enterprise Storage 7.1 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tomcat 9.0.82-2.1 openSUSE-SU-2024:13382-1
openSUSE Leap 15.5 tomcat 9.0.85-150200.57.1 SUSE-SU-2024:0472-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 tomcat +7 1:9.0.62-37.el9_3.1 ELSA-2024-0474
Oracle Linux 8 tomcat +7 1:9.0.62-27.el8_9.2 ELSA-2024-0125

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat:tomcat-coyote >= 9.0.70, < 9.0.81 9.0.81 GHSA-jm7m-8jh6-29hp
Maven org.apache.tomcat:tomcat-coyote >= 8.5.85, < 8.5.94 8.5.94 GHSA-jm7m-8jh6-29hp

Advisories 16

References