Incomplete Cleanup Affecting org.apache.tomcat:tomcat 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

    Threat Intelligence

    EPSS
    0.06% (25th 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 ID SNYK-JAVA-ORGAPACHETOMCAT-5958906
  • published 11 Oct 2023
  • disclosed 10 Oct 2023
  • credit Mohammad Khedmatgozar

How to fix?

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

Overview

org.apache.tomcat:tomcat is an implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies.

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
Expand this section

Snyk

Recommended
5.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

NVD

5.9 medium
Expand this section

SUSE

5.9 medium
Expand this section

Red Hat

5.9 medium