Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

GHSA-hfrx-6qgj-fp6c

HIGHFix: apache/commons-fileupload@e20c049

GHSA-hfrx-6qgj-fp6c is a high-severity (CVSS 7.5) CWE-770 vulnerability in commons-fileupload:commons-fileupload. 2 public exploit references exist, so weaponization risk is real. O3 Security confirms whether GHSA-hfrx-6qgj-fp6c is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Apache Commons FileUpload denial of service vulnerability

Also known asCVE-2023-24998
Published
Feb 20, 2023
Updated
Jun 18, 2026
Affected
13 pkgs
Patched
13 / 13
Exploits
2 known

Real-World Exposure

13 pkgs affected
commons-fileupload:commons-fileuploadorg.apache.tomcat:tomcat-coyoteorg.apache.tomcat:tomcat-coyoteorg.apache.tomcat:tomcat-coyoteorg.apache.tomcat:tomcat-coyoteorg.apache.tomcat.embed:tomcat-embed-coreorg.apache.tomcat.embed:tomcat-embed-coreorg.apache.tomcat.embed:tomcat-embed-core+5 more

Real-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

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.

Affected Packages

13 total 13 fixed
EcosystemPackageVulnerable rangeFix
Mavencommons-fileupload:commons-fileuploadall versions1.5
Mavenorg.apache.tomcat:tomcat-coyote10.1.0-M1&&< 10.1.510.1.5
Mavenorg.apache.tomcat:tomcat-coyote11.0.0-M2&&< 11.0.0-M511.0.0-M5
Mavenorg.apache.tomcat:tomcat-coyote8.5.85&&< 8.5.888.5.88
Mavenorg.apache.tomcat:tomcat-coyote9.0.0-M1&&< 9.0.719.0.71
Mavenorg.apache.tomcat.embed:tomcat-embed-core10.1.0-M1&&< 10.1.510.1.5
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for commons-fileupload:commons-fileupload. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update commons-fileupload:commons-fileupload to 1.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-hfrx-6qgj-fp6c is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-hfrx-6qgj-fp6c is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-hfrx-6qgj-fp6c. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is GHSA-hfrx-6qgj-fp6c in your dependencies?

O3 detects GHSA-hfrx-6qgj-fp6c across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.