← Back
CVE-2023-24998
Vulnerability in commons-fileupload:commons-fileupload (CVE-2023-24998)
Summary
vulnerability in commons-fileupload:commons-fileupload (CVE-2023-24998). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to `1.5` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2023-24998** has been found in commons-fileupload:commons-fileupload.
Risk of unauthorized operations or information disclosure. CVSS score: ?/10.
What to do: upgrade commons-fileupload:commons-fileupload to **1.5** or later.
If unsure, ask your IT team or search "commons-fileupload:commons-fileupload CVE-2023-24998" on the vendor's site.
CVE-2023-24998 (commons-fileupload:commons-fileupload) — CWE-770 /
Patched: `1.5` — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**A vulnerability** (CWE-770) exists in commons-fileupload:commons-fileupload.
📍 Affected scope
commons-fileupload:commons-fileupload — .
🔥 Severity
Severity: ?. Risk of unauthorized operations or information disclosure
🔧 How to fix
Update to **1.5**.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'commons-fileupload:commons-fileupload' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'commons-fileupload:commons-fileupload' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `commons-fileupload:commons-fileupload` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade commons-fileupload:commons-fileupload to 1.5ステージング環境で 1.5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
maven
commons-fileupload:commons-fileupload
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5"}]}]
maven
org.apache.tomcat:tomcat-coyote
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.71"}]}]
maven
org.apache.tomcat.embed:tomcat-embed-core
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.71"}]}]
maven
org.apache.tomcat:tomcat-catalina
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.71"}]}]
References
- web https://nvd.nist.gov/vuln/detail/CVE-2023-24998
- web https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy
- web https://github.com/apache/commons-fileupload/commit/e20c04990f7420ca917e96a84cec58b13a1b3d17
- web https://commons.apache.org/proper/commons-fileupload/security-reports.html
- web http://www.openwall.com/lists/oss-security/2023/05/22/1
- web https://security.gentoo.org/glsa/202305-37
- web https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html
- web https://www.debian.org/security/2023/dsa-5522
- web https://github.com/apache/tomcat/commit/8a2285f13affa961cc65595aad999db5efae45ce
- web https://github.com/apache/tomcat/commit/9ca96c8c1eba86c0aaa2e6be581ba2a7d4d4ae6e
- web https://github.com/apache/tomcat/commit/cf77cc545de0488fb89e24294151504a7432df74
- web https://github.com/apache/tomcat/commit/d53d8e7f77042cc32a3b98f589496a1ef5088e38
- web https://tomcat.apache.org/security-10.html
- web https://tomcat.apache.org/security-11.html
- web https://tomcat.apache.org/security-8.html
- web https://tomcat.apache.org/security-9.html
- web https://github.com/search?q=repo%3Aapache%2Ftomcat+util.http+path%3A%2F%5Eres%5C%2Fbnd%5C%2F%2F&type=code
- web https://security.netapp.com/advisory/ntap-20230302-0013
- web https://lists.debian.org/debian-lts-announce/2025/07/msg00008.html
- web https://security.netapp.com/advisory/ntap-20241108-0002
- web https://github.com/advisories/GHSA-hfrx-6qgj-fp6c