MODERATE 5.9

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.tomcat » tomcat-coyote
>= 8.5.85, < 8.5.94>= 9.0.70, < 9.0.81
8.5.94, 9.0.81

Blast radius

1affected artifacts
19affected versions
702dependent artifacts (est.)
43,163dependent versions

18% of the dependent artifacts (132) still pull an affected version in their latest release.

DepthDependent versions
Direct
105
2 hops
412
3 hops
13,136
4 hops
19,971
5 hops
8,409
6 hops
1,130

Most used dependents

Computed from the dependency graph of build 20261205.2030 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Weblists.apache.org
Webopenwall.com