CVE-2023-42794
Java vulnerability analysis and mitigation

Overview

CVE-2023-42794 is an Incomplete Cleanup vulnerability discovered in Apache Tomcat. The vulnerability affects Apache Tomcat versions 9.0.70 through 9.0.80 and 8.5.85 through 8.5.93. The issue was disclosed on October 10, 2023, and involves the internal fork of Commons FileUpload packaged with Apache Tomcat (NVD, Apache Advisory).

Technical details

The vulnerability stems from an unreleased, in-progress refactoring of the Commons FileUpload component that exposed a potential denial of service specifically on Windows systems. The issue occurs when a web application opens a stream for an uploaded file but fails to close the stream properly. The CVSS v3.1 base score is 5.9 (Medium), with a vector string of CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, the vulnerability results in temporary files never being deleted from disk, potentially leading to disk space exhaustion and eventual denial of service. This impact is specifically limited to Windows-based systems running affected versions of Apache Tomcat (OSS Security).

Mitigation and workarounds

Users are recommended to upgrade to Apache Tomcat version 9.0.81 or later for the 9.0.x series, or version 8.5.94 or later for the 8.5.x series. These versions contain the fix for the vulnerability (Apache Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management