Incomplete Cleanup Affecting org.apache.tomcat.embed:tomcat-embed-core package, versions [8.5.85,8.5.94)[9.0.70,9.0.81)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHETOMCATEMBED-5959653
  • published11 Oct 2023
  • disclosed10 Oct 2023
  • creditMohammad Khedmatgozar

Introduced: 10 Oct 2023

CVE-2023-42794  (opens in a new tab)
CWE-459  (opens in a new tab)

How to fix?

Upgrade org.apache.tomcat.embed:tomcat-embed-core to version 8.5.94, 9.0.81 or higher.

Overview

org.apache.tomcat.embed:tomcat-embed-core is a Core Tomcat implementation.

Affected versions of this package are vulnerable to Incomplete Cleanup in the internal fork of Commons FileUpload package. An attacker can potentially cause a denial of service on Windows by opening a stream for an uploaded file but failing to close the stream. This results in the file never being deleted from the disk, creating the possibility of an eventual denial of service due to the disk being full.

Note:

This vulnerability is exploitable on Windows operating systems.

CVSS Scores

version 3.1