Live threats

All CVEs / Apache

CVE-2023-24998Apache Commons Fileupload

High 7.5 No auth needed

Priority
61
CVSS 3.1
7.5
EPSS
7.7%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Feb 20, 2023
Updated
Oct 7, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

Apache Commons FileUpload before 1.5 does not limit the number of request parts to be processed resulting in the possibility of an attacker triggering a DoS with a malicious upload or series of uploads. Note that, like all of the file upload limits, the new configuration option (FileUploadBase#setFileCountMax) is not enabled by default and must be explicitly configured.

Original NVD text.

What to do

  1. Apply the vendor's security update for Commons Fileupload.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven commons-fileupload:commons-fileupload < 1.5 1.5 —
Maven org.apache.tomcat.embed:tomcat-embed-core ≥ 10.1.0-M1 < 10.1.5 10.1.5 —
Maven org.apache.tomcat.embed:tomcat-embed-core ≥ 11.0.0-M2 < 11.0.0-M5 11.0.0-M5 —
Maven org.apache.tomcat.embed:tomcat-embed-core ≥ 8.5.85 < 8.5.88 8.5.88 —
Maven org.apache.tomcat.embed:tomcat-embed-core ≥ 9.0.0-M1 < 9.0.71 9.0.71 —
Maven org.apache.tomcat:tomcat-catalina ≥ 10.1.0-M1 < 10.1.5 10.1.5 —
Maven org.apache.tomcat:tomcat-catalina ≥ 11.0.0-M2 < 11.0.0-M5 11.0.0-M5 —
Maven org.apache.tomcat:tomcat-catalina ≥ 8.5.85 < 8.5.88 8.5.88 —
Maven org.apache.tomcat:tomcat-catalina ≥ 9.0.0-M1 < 9.0.71 9.0.71 —
Maven org.apache.tomcat:tomcat-coyote ≥ 10.1.0-M1 < 10.1.5 10.1.5 —
Maven org.apache.tomcat:tomcat-coyote ≥ 11.0.0-M2 < 11.0.0-M5 11.0.0-M5 —
Maven org.apache.tomcat:tomcat-coyote ≥ 8.5.85 < 8.5.88 8.5.88 —
Maven org.apache.tomcat:tomcat-coyote ≥ 9.0.0-M1 < 9.0.71 9.0.71 —

Per OSV / GitHub Advisories (GHSA-hfrx-6qgj-fp6c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachecommons_fileupload≥ 1.0 < 1.5
apachecommons_fileupload1.0
debiandebian_linux9.0
debiandebian_linux11.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.