CVE-2023-42794
Apache Tomcat Incomplete Cleanup vulnerability
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.
How to fix CVE-2023-42794
To remediate CVE-2023-42794, upgrade the affected package to a fixed version below.
- —upgrade to 8.5.94 or later
- —upgrade to 9.0.81 or later
Is CVE-2023-42794 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 8.5.85, < 8.5.94, >= 9.0.70, < 9.0.81
- >= 9.0.70, < 9.0.81
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |