Apache Commons FileUpload, Apache Commons FileUpload: FileUpload DoS via part headersGHSA-vv7r-c36w-3prj
Fix: apache/commons-fileupload@b247774GHSA-vv7r-c36w-3prj is a CWE-770 vulnerability in commons-fileupload:commons-fileupload. EPSS puts its 30-day exploitation probability at 32.9% (98th percentile). A fix is available for commons-fileupload:commons-fileupload — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-vv7r-c36w-3prj.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
commons-fileupload:commons-fileupload☕org.apache.commons:commons-fileupload2-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Allocation of resources for multipart headers with insufficient limits enabled a DoS vulnerability in Apache Commons FileUpload.
This issue affects Apache Commons FileUpload: from 1.0 before 1.6; from 2.0.0-M1 before 2.0.0-M4.
Users are recommended to upgrade to versions 1.6 or 2.0.0-M4, which fix the issue.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | commons-fileupload:commons-fileupload | ≥ 1.0&&< 1.6.0 | 1.6.0commons-fileupload:commons-fileupload:1.6.0 |
| ☕Maven | org.apache.commons:commons-fileupload2-core | ≥ 2.0.0-M1&&< 2.0.0-M4 | 2.0.0-M4org.apache.commons:commons-fileupload2-core:2.0.0-M4 |
Affected Products
commons fileuploadapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for commons-fileupload:commons-fileupload, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update commons-fileupload:commons-fileupload to 1.6.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vv7r-c36w-3prj is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.Source: Red Hat security advisory for GHSA-vv7r-c36w-3prj (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 10 | tomcat9-1:9.0.87-5.el10_0.3 | RHSA-2025:14178 |
| Red Hat Enterprise Linux 10 | tomcat-1:10.1.36-1.el10_0.2 | RHSA-2025:14179 |
| Red Hat Enterprise Linux 8 | tomcat-1:9.0.87-1.el8_10.6 | RHSA-2025:14177 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | tomcat-1:9.0.87-1.el8_8.7 | RHSA-2025:14182 |
| Red Hat Enterprise Linux 9 | tomcat-1:9.0.87-3.el9_6.3 | RHSA-2025:14181 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | tomcat-1:9.0.87-1.el9_2.6 | RHSA-2025:14183 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | tomcat-1:9.0.87-1.el9_4.6 | RHSA-2025:14180 |
| Red Hat JBoss Web Server 5.8.5 | tomcat | RHSA-2025:11696 |
Frequently Asked Questions
Is GHSA-vv7r-c36w-3prj in your dependencies?
Find it across Maven, including transitive dependencies.