CVE-2025-24813
Reported by apache · Published March 10, 2025
tomcat-catalina is fixed in 11.0.3, 10.1.35, 9.0.99 and 1 more (Maven Central)
Path Equivalence: 'file.Name' (Internal Dot) leading to Remote Code Execution and/or Information disclosure and/or malicious content added to uploaded files via write enabled Default Servlet in Apache Tomcat. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.2, from 10.1.0-M1 through 10.1.34, from 9.0.0.M1 through 9.0.98. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. If all of the following were true, a malicious user was able to view security sensitive files and/or inject content into those files: - writes enabled for the default servlet (disabled by default) - support for partial PUT (enabled by default) - a target URL for security sensitive uploads that was a sub-directory of a target URL for public uploads - attacker knowledge of the names of security sensitive files being uploaded - the security sensitive files also being uploaded via partial PUT If all of the following were true, a malicious user was able to perform remote code execution: - writes enabled for the default servlet (disabled by default) - support for partial PUT (enabled by default) - application was using Tomcat's file based session persistence with the default storage location - application included a library that may be leveraged in a deserialization attack Users are recommended to upgrade to version 11.0.3, 10.1.35 or 9.0.99, which fixes the issue.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat-catalina | Maven Central | 11.0.3, 10.1.35, 9.0.99, 8.5.100 |
| org.apache.tomcat.embed:tomcat-embed-core | Maven Central | 11.0.3, 10.1.35, 9.0.99, 8.5.100 |
| tomcat10-jsp-3.1-api | Amazon Linux | 1:10.1.39-1.amzn2023.0.1 |
| tomcat | Bitnami | 11.0.3, 10.1.35, 9.0.99 |
| thingsboard | Chainguard | 3.9.1-r2 |
| thingsboard | Wolfi | 3.9.1-r2 |
| tomcat10 | Amazon Linux | 1:10.1.39-1.amzn2023.0.1 |
| tomcat9 | Amazon Linux | 1:9.0.102-1.amzn2023.0.1 |
| tomcat9-docs-webapp | Amazon Linux | 1:9.0.102-1.amzn2023.0.1 |
| tomcat-servlet-3.0-api | Amazon Linux | 7.0.76-10.amzn2.0.10 |
| tomcat10-webapps | Amazon Linux | 1:10.1.39-1.amzn2023.0.1 |
| tomcat-lib | Amazon Linux | 7.0.76-10.amzn2.0.10 |
22 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | 11.0.0-M1, 10.1.0-M1, 9.0.0.M1 |
| amazon:2023 | tomcat10-jsp-3.1-api | 0 |
| Maven | org.apache.tomcat:tomcat-catalina | 9.0.0.M1, 8.5.0, 11.0.0-M1 |
| chainguard | thingsboard | 0 |
| wolfi | thingsboard | 0 |
| amazon:2023 | tomcat10 | 0 |
| amazon:2023 | tomcat9 | 0 |
| Apache Software Foundation | Apache Tomcat | 9.0.0.M1, 10.0.0-M1, 3 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 8.5.0, 10.1.0-M1, 11.0.0-M1 |
| amazon:2023 | tomcat9-docs-webapp | 0 |
| amazon:2 | tomcat-servlet-3.0-api | 0 |
| amazon:2023 | tomcat10-webapps | 0 |
| amazon:2 | tomcat-lib | 0 |
| amazon:2 | tomcat-admin-webapps | 0 |
| amazon:2 | tomcat-javadoc | 0 |
| amazon:2023 | tomcat9-admin-webapps | 0 |
| amazon:2 | tomcat-jsvc | 0 |
| amazon:2 | tomcat-el-2.2-api | 0 |
| amazon:2023 | tomcat10-el-5.0-api | 0 |
| amazon:2 | tomcat-jsp-2.2-api | 0 |
…and 12 more
Timeline
- Mar 10, 2025 Coalition ESS Score (27 in total, the first dated here)
- Mar 10, 2025 CVE Published
- Mar 11, 2025 EPSS Score (30 in total, the first dated here)
- Mar 12, 2025 PoC Published (4 in total, the first dated here)
- Mar 13, 2025 VulnCheck XDB Entry (45 in total, the first dated here)
- Mar 14, 2025 VulnCheck KEV Exploitation (137 in total, the first dated here)
- Apr 1, 2025 CISA KEV Added
- Aug 30, 2025 CrowdSec Sighting (10 in total, the first dated here)
- Mar 17, 2026 Security Advisory (23 in total, the first dated here)
- Oct 20, 2026 Distribution Patch (13 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-24813
vulnetix vdb fixes CVE-2025-24813
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-24813/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-24813 advisory
- https://github.com/advisories/GHSA-83qj-6fr2-vhqg advisory
- https://github.com/apache/tomcat/commit/0a668e0c27f2b7ca0cc7c6eea32253b9b5ecb29c patch
- https://github.com/apache/tomcat/commit/eb61aade8f8daccaecabf07d428b877975622f72 patch
- https://github.com/apache/tomcat/commit/f6c01d6577cf9a1e06792be47e623d36acc3b5dc patch
- https://github.com/apache/tomcat url
- https://security.netapp.com/advisory/ntap-20250321-0001 advisory
- http://www.openwall.com/lists/oss-security/2025/03/10/5 url
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-detect-apache-tomcat-rce url
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-mitigate-apache-tomcat-rce url
- https://security.netapp.com/advisory/ntap-20250321-0001/ url
- https://lists.debian.org/debian-lts-announce/2025/04/msg00003.html url
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-tomcat-detect-vulnerability url
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-tomcat-mitigation-vulnerability url
- https://github.com/absholi7ly/POC-CVE-2025-24813/blob/main/README.md exploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24813 url