Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat.embed/tomcat-embed-core
  4. ›
  5. CVE-2023-42794

CVE-2023-42794: Incomplete Cleanup

October 10, 2023 (updated December 11, 2023)

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.

References

  • www.openwall.com/lists/oss-security/2023/10/10/8
  • lists.apache.org/thread/vvbr2ms7lockj1hlhz5q3wmxb2mwcw82
  • nvd.nist.gov/vuln/detail/CVE-2023-42794

Code Behaviors & Features

Detect and mitigate CVE-2023-42794 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.5.85 before 8.5.94, all versions starting from 9.0.70 before 9.0.81

Fixed versions

  • 8.5.94
  • 9.0.81

Solution

Upgrade to versions 8.5.94, 9.0.81 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-459: Incomplete Cleanup

Source file

maven/org.apache.tomcat.embed/tomcat-embed-core/CVE-2023-42794.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.