CVE-2025-24813
tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Bitnami, Photon OS. Rated lower by Amazon (high), Ubuntu (high), Red Hat (medium), AlmaLinux (medium), Oracle (medium), Rocky Linux (medium).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | tomcat | 9.0.99, 10.1.35, 11.0.3 |
| maven::GitHub Security Advisory Maven | org.apache.tomcat.embed:tomcat-embed-core, org.apache.tomcat:tomcat-catalina | 11.0.3, 10.1.35, 9.0.99 |
| Photon OS 4.0 | apache-tomcat9, apache-tomcat9-webapps | 9.0.98-2.ph4 |
| Photon OS 5.0 | apache-tomcat10, apache-tomcat10-webapps, apache-tomcat9 and 1 more | 10.1.34-3.ph5 and 1 more |
| alma 8 | tomcat, tomcat-admin-webapps, tomcat-docs-webapp and 5 more | 1:9.0.87-1.el8_10.3 |
| alma 9 | tomcat, tomcat-admin-webapps, tomcat-docs-webapp and 5 more | 1:9.0.87-2.el9_5.1 |
| amazon linux 1 | tomcat8, tomcat8-admin-webapps, tomcat8-docs-webapp and 7 more | 8.5.99-1.98.amzn1 |
| amazon linux 2 | tomcat, tomcat-admin-webapps, tomcat-docs-webapp and 7 more | 7.0.76-10.amzn2.0.10 |
| amazon linux 2023 | tomcat10, tomcat10-admin-webapps, tomcat10-docs-webapp and 13 more | 1:10.1.39-1.amzn2023.0.1 and 1 more |
| chainguard | thingsboard | 3.9.1-r2 |
| debian 11 | tomcat9 | 9.0.43-2~deb11u12 |
| debian 12 | tomcat10, tomcat9 | 10.1.34-0+deb12u2 and 1 more |
Show all 177 entries from 40 sources
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | tomcat | 9.0.99, 10.1.35, 11.0.3 |
| maven::GitHub Security Advisory Maven | org.apache.tomcat.embed:tomcat-embed-core | 11.0.3, 10.1.35, 9.0.99 |
| maven::GitHub Security Advisory Maven | org.apache.tomcat:tomcat-catalina | 11.0.3, 10.1.35, 9.0.99 |
| Photon OS 4.0 | apache-tomcat9 | 9.0.98-2.ph4 |
| Photon OS 4.0 | apache-tomcat9-webapps | 9.0.98-2.ph4 |
| Photon OS 5.0 | apache-tomcat10 | 10.1.34-3.ph5 |
| Photon OS 5.0 | apache-tomcat10-webapps | 10.1.34-3.ph5 |
| Photon OS 5.0 | apache-tomcat9 | 9.0.98-2.ph5 |
| Photon OS 5.0 | apache-tomcat9-webapps | 9.0.98-2.ph5 |
| alma 8 | tomcat | 1:9.0.87-1.el8_10.3 |
| alma 8 | tomcat-admin-webapps | 1:9.0.87-1.el8_10.3 |
| alma 8 | tomcat-docs-webapp | 1:9.0.87-1.el8_10.3 |
| alma 8 | tomcat-el-3.0-api | 1:9.0.87-1.el8_10.3 |
| alma 8 | tomcat-jsp-2.3-api | 1:9.0.87-1.el8_10.3 |
| alma 8 | tomcat-lib | 1:9.0.87-1.el8_10.3 |
| alma 8 | tomcat-servlet-4.0-api | 1:9.0.87-1.el8_10.3 |
| alma 8 | tomcat-webapps | 1:9.0.87-1.el8_10.3 |
| alma 9 | tomcat | 1:9.0.87-2.el9_5.1 |
| alma 9 | tomcat-admin-webapps | 1:9.0.87-2.el9_5.1 |
| alma 9 | tomcat-docs-webapp | 1:9.0.87-2.el9_5.1 |
| alma 9 | tomcat-el-3.0-api | 1:9.0.87-2.el9_5.1 |
| alma 9 | tomcat-jsp-2.3-api | 1:9.0.87-2.el9_5.1 |
| alma 9 | tomcat-lib | 1:9.0.87-2.el9_5.1 |
| alma 9 | tomcat-servlet-4.0-api | 1:9.0.87-2.el9_5.1 |
| alma 9 | tomcat-webapps | 1:9.0.87-2.el9_5.1 |
| amazon linux 1 | tomcat8 | 8.5.99-1.98.amzn1 |
| amazon linux 1 | tomcat8-admin-webapps | 8.5.99-1.98.amzn1 |
| amazon linux 1 | tomcat8-docs-webapp | 8.5.99-1.98.amzn1 |
| amazon linux 1 | tomcat8-el-3.0-api | 8.5.99-1.98.amzn1 |
| amazon linux 1 | tomcat8-javadoc | 8.5.99-1.98.amzn1 |
| amazon linux 1 | tomcat8-jsp-2.3-api | 8.5.99-1.98.amzn1 |
| amazon linux 1 | tomcat8-lib | 8.5.99-1.98.amzn1 |
| amazon linux 1 | tomcat8-log4j | 8.5.99-1.98.amzn1 |
| amazon linux 1 | tomcat8-servlet-3.1-api | 8.5.99-1.98.amzn1 |
| amazon linux 1 | tomcat8-webapps | 8.5.99-1.98.amzn1 |
| amazon linux 2 | tomcat | 7.0.76-10.amzn2.0.10 |
| amazon linux 2 | tomcat-admin-webapps | 7.0.76-10.amzn2.0.10 |
| amazon linux 2 | tomcat-docs-webapp | 7.0.76-10.amzn2.0.10 |
| amazon linux 2 | tomcat-el-2.2-api | 7.0.76-10.amzn2.0.10 |
| amazon linux 2 | tomcat-javadoc | 7.0.76-10.amzn2.0.10 |
| amazon linux 2 | tomcat-jsp-2.2-api | 7.0.76-10.amzn2.0.10 |
| amazon linux 2 | tomcat-jsvc | 7.0.76-10.amzn2.0.10 |
| amazon linux 2 | tomcat-lib | 7.0.76-10.amzn2.0.10 |
| amazon linux 2 | tomcat-servlet-3.0-api | 7.0.76-10.amzn2.0.10 |
| amazon linux 2 | tomcat-webapps | 7.0.76-10.amzn2.0.10 |
| amazon linux 2023 | tomcat10 | 1:10.1.39-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat10-admin-webapps | 1:10.1.39-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat10-docs-webapp | 1:10.1.39-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat10-el-5.0-api | 1:10.1.39-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat10-jsp-3.1-api | 1:10.1.39-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat10-lib | 1:10.1.39-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat10-servlet-6.0-api | 1:10.1.39-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat10-webapps | 1:10.1.39-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat9 | 1:9.0.102-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat9-admin-webapps | 1:9.0.102-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat9-docs-webapp | 1:9.0.102-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat9-el-3.0-api | 1:9.0.102-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat9-jsp-2.3-api | 1:9.0.102-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat9-lib | 1:9.0.102-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat9-servlet-4.0-api | 1:9.0.102-1.amzn2023.0.1 |
| amazon linux 2023 | tomcat9-webapps | 1:9.0.102-1.amzn2023.0.1 |
| chainguard | thingsboard | 3.9.1-r2 |
| debian 11 | tomcat9 | 9.0.43-2~deb11u12 |
| debian 12 | tomcat10 | 10.1.34-0+deb12u2 |
| debian 12 | tomcat9 | 9.0.70-2 |
| debian 13 | tomcat10 | 10.1.35-1 |
| debian 13 | tomcat9 | 9.0.70-2 |
| debian 14 | tomcat10 | 10.1.35-1 |
| debian 14 | tomcat9 | 9.0.70-2 |
| echo | tomcat10 | 10.1.34-0+deb12u2 |
| echo | tomcat9 | 9.0.70-2 |
| Oracle Linux 8 | tomcat | 1:9.0.87-1.el8_10.3 |
| Oracle Linux 8 | tomcat-admin-webapps | 1:9.0.87-1.el8_10.3 |
| Oracle Linux 8 | tomcat-docs-webapp | 1:9.0.87-1.el8_10.3 |
| Oracle Linux 8 | tomcat-el-3.0-api | 1:9.0.87-1.el8_10.3 |
| Oracle Linux 8 | tomcat-jsp-2.3-api | 1:9.0.87-1.el8_10.3 |
| Oracle Linux 8 | tomcat-lib | 1:9.0.87-1.el8_10.3 |
| Oracle Linux 8 | tomcat-servlet-4.0-api | 1:9.0.87-1.el8_10.3 |
| Oracle Linux 8 | tomcat-webapps | 1:9.0.87-1.el8_10.3 |
| Oracle Linux 9 | tomcat | 1:9.0.87-2.el9_5.1 |
| Oracle Linux 9 | tomcat-admin-webapps | 1:9.0.87-2.el9_5.1 |
| Oracle Linux 9 | tomcat-docs-webapp | 1:9.0.87-2.el9_5.1 |
| Oracle Linux 9 | tomcat-el-3.0-api | 1:9.0.87-2.el9_5.1 |
| Oracle Linux 9 | tomcat-jsp-2.3-api | 1:9.0.87-2.el9_5.1 |
| Oracle Linux 9 | tomcat-lib | 1:9.0.87-2.el9_5.1 |
| Oracle Linux 9 | tomcat-servlet-4.0-api | 1:9.0.87-2.el9_5.1 |
| Oracle Linux 9 | tomcat-webapps | 1:9.0.87-2.el9_5.1 |
| rapidfort amazon linux 2023 | tomcat10 | 1:10.1.39-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | tomcat10-admin-webapps | 1:10.1.39-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | tomcat10-docs-webapp | 1:10.1.39-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | tomcat10-lib | 1:10.1.39-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | tomcat10-webapps | 1:10.1.39-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | tomcat9 | 1:9.0.102-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | tomcat9-admin-webapps | 1:9.0.102-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | tomcat9-docs-webapp | 1:9.0.102-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | tomcat9-lib | 1:9.0.102-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | tomcat9-webapps | 1:9.0.102-1.amzn2023.0.1 |
| rapidfort debian 12 | tomcat10 | 0:10.1.34-0+deb12u2, 0:10.1.35-1 |
| rapidfort debian 13 | tomcat10 | 0:10.1.34-0+deb12u2, 0:10.1.35-1 |
| rapidfort Oracle Linux 10 | tomcat | 1:10.1.36-1.el10_0 |
| rapidfort Oracle Linux 10 | tomcat-admin-webapps | 1:10.1.36-1.el10_0 |
| rapidfort Oracle Linux 10 | tomcat-docs-webapp | 1:10.1.36-1.el10_0 |
| rapidfort Oracle Linux 10 | tomcat-lib | 1:10.1.36-1.el10_0 |
| rapidfort Oracle Linux 10 | tomcat-webapps | 1:10.1.36-1.el10_0 |
| rapidfort Oracle Linux 10 | tomcat9 | 1:9.0.87-5.el10_0 |
| rapidfort Oracle Linux 10 | tomcat9-admin-webapps | 1:9.0.87-5.el10_0 |
| rapidfort Oracle Linux 10 | tomcat9-docs-webapp | 1:9.0.87-5.el10_0 |
| rapidfort Oracle Linux 10 | tomcat9-lib | 1:9.0.87-5.el10_0 |
| rapidfort Oracle Linux 10 | tomcat9-webapps | 1:9.0.87-5.el10_0 |
| rapidfort Oracle Linux 9 | tomcat | 1:9.0.87-2.el9_5.1 |
| rapidfort Oracle Linux 9 | tomcat-admin-webapps | 1:9.0.87-2.el9_5.1 |
| rapidfort Oracle Linux 9 | tomcat-docs-webapp | 1:9.0.87-2.el9_5.1 |
| rapidfort Oracle Linux 9 | tomcat-lib | 1:9.0.87-2.el9_5.1 |
| rapidfort Oracle Linux 9 | tomcat-webapps | 1:9.0.87-2.el9_5.1 |
| rapidfort ubuntu 20.04 | tomcat10 | 0:10.1.55-1ubuntu2~26.04.1 |
| rapidfort ubuntu 20.04 | tomcat9 | 0:9.0.70-2ubuntu1.24.10.1 |
| rapidfort ubuntu 22.04 | tomcat10 | 0:10.1.55-1ubuntu2~26.04.1 |
| rapidfort ubuntu 22.04 | tomcat9 | 0:9.0.70-2ubuntu1.24.10.1 |
| rapidfort ubuntu 24.04 | tomcat10 | 0:10.1.55-1ubuntu2~26.04.1 |
| rapidfort ubuntu 24.04 | tomcat9 | 0:9.0.70-2ubuntu1.24.10.1 |
| Red Hat | jws5-tomcat | no fix listed |
| Red Hat | tomcat | no fix listed |
| Red Hat | tomcat6 | no fix listed |
| Red Hat | tomcat6-admin-webapps | no fix listed |
| Red Hat | tomcat6-docs-webapp | no fix listed |
| Red Hat | tomcat6-el-2.1-api | no fix listed |
| Red Hat | tomcat6-javadoc | no fix listed |
| Red Hat | tomcat6-jsp-2.1-api | no fix listed |
| Red Hat | tomcat6-lib | no fix listed |
| Red Hat | tomcat6-log4j | no fix listed |
| Red Hat | tomcat6-servlet-2.5-api | no fix listed |
| Red Hat | tomcat6-webapps | no fix listed |
| rocky 10 | tomcat | 1:10.1.36-1.el10_0 |
| rocky 10 | tomcat-admin-webapps | 1:10.1.36-1.el10_0 |
| rocky 10 | tomcat-docs-webapp | 1:10.1.36-1.el10_0 |
| rocky 10 | tomcat-el-5.0-api | 1:10.1.36-1.el10_0 |
| rocky 10 | tomcat-jsp-3.1-api | 1:10.1.36-1.el10_0 |
| rocky 10 | tomcat-lib | 1:10.1.36-1.el10_0 |
| rocky 10 | tomcat-servlet-6.0-api | 1:10.1.36-1.el10_0 |
| rocky 10 | tomcat-webapps | 1:10.1.36-1.el10_0 |
| rocky 10 | tomcat9 | 1:9.0.87-5.el10_0 |
| rocky 10 | tomcat9-admin-webapps | 1:9.0.87-5.el10_0 |
| rocky 10 | tomcat9-docs-webapp | 1:9.0.87-5.el10_0 |
| rocky 10 | tomcat9-el-3.0-api | 1:9.0.87-5.el10_0 |
| rocky 10 | tomcat9-jsp-2.3-api | 1:9.0.87-5.el10_0 |
| rocky 10 | tomcat9-lib | 1:9.0.87-5.el10_0 |
| rocky 10 | tomcat9-servlet-4.0-api | 1:9.0.87-5.el10_0 |
| rocky 10 | tomcat9-webapps | 1:9.0.87-5.el10_0 |
| rocky 8 | tomcat | 1:9.0.87-1.el8_10.3 |
| rocky 8 | tomcat-admin-webapps | 1:9.0.87-1.el8_10.3 |
| rocky 8 | tomcat-docs-webapp | 1:9.0.87-1.el8_10.3 |
| rocky 8 | tomcat-el-3.0-api | 1:9.0.87-1.el8_10.3 |
| rocky 8 | tomcat-jsp-2.3-api | 1:9.0.87-1.el8_10.3 |
| rocky 8 | tomcat-lib | 1:9.0.87-1.el8_10.3 |
| rocky 8 | tomcat-servlet-4.0-api | 1:9.0.87-1.el8_10.3 |
| rocky 8 | tomcat-webapps | 1:9.0.87-1.el8_10.3 |
| rocky 9 | tomcat | 1:9.0.87-2.el9_5.1 |
| rocky 9 | tomcat-admin-webapps | 1:9.0.87-2.el9_5.1 |
| rocky 9 | tomcat-docs-webapp | 1:9.0.87-2.el9_5.1 |
| rocky 9 | tomcat-el-3.0-api | 1:9.0.87-2.el9_5.1 |
| rocky 9 | tomcat-jsp-2.3-api | 1:9.0.87-2.el9_5.1 |
| rocky 9 | tomcat-lib | 1:9.0.87-2.el9_5.1 |
| rocky 9 | tomcat-servlet-4.0-api | 1:9.0.87-2.el9_5.1 |
| rocky 9 | tomcat-webapps | 1:9.0.87-2.el9_5.1 |
| seal maven::Seal Security Database | org.apache.tomcat.embed:tomcat-embed-core | 10.1.10+sp2, 10.1.5+sp2, 9.0.46+sp2, 9.0.58+sp2, 9.0.68+sp2, 9.0.69+sp2, 9.0.80+sp2 |
| seal maven::Seal Security Database | seal.sp1.org.apache.tomcat.embed:tomcat-embed-core | 10.1.10+sp999, 10.1.5+sp999, 9.0.46+sp999, 9.0.58+sp999, 9.0.68+sp999, 9.0.69+sp999, 9.0.80+sp999 |
| ubuntu 18.04-ESM | tomcat9 | 9.0.16-3ubuntu0.18.04.2+esm6 |
| ubuntu 20.04-ESM | tomcat9 | 9.0.31-1ubuntu0.9+esm1 |
| ubuntu 22.04 | tomcat9 | no fix listed |
| ubuntu 24.04 | tomcat10 | no fix listed |
| ubuntu 24.04 | tomcat9 | no fix listed |
| ubuntu 24.10 | tomcat9 | 9.0.70-2ubuntu1.24.10.1 |
| ubuntu 25.04 | tomcat9 | 9.0.70-2ubuntu1.25.04.1 |
| ubuntu 25.10 | tomcat9 | 9.0.70-2ubuntu2 |
| ubuntu 26.04 | tomcat9 | 9.0.70-2ubuntu2 |
| ubuntu 26.10 | tomcat9 | 9.0.70-2ubuntu2 |
| wolfi | thingsboard | 3.9.1-r2 |
References
- http://www.openwall.com/lists/oss-security/2025/03/10/5
- https://access.redhat.com/errata/RHSA-2025:3645
- https://access.redhat.com/security/cve/CVE-2025-24813
- https://bugzilla.redhat.com/2332817
- https://bugzilla.redhat.com/2351129
- https://bugzilla.redhat.com/show_bug.cgi?id=2332817
- https://bugzilla.redhat.com/show_bug.cgi?id=2351129
- https://creativecommons.org/licenses/by/4.0/
All 33 references
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-50379
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-24813
- https://errata.almalinux.org/9/ALSA-2025-3645.html
- https://errata.rockylinux.org/RLSA-2025:3645
- https://github.com/absholi7ly/POC-CVE-2025-24813/blob/main/README.md
- https://github.com/apache/tomcat
- https://github.com/apache/tomcat/commit/0a668e0c27f2b7ca0cc7c6eea32253b9b5ecb29c
- https://github.com/apache/tomcat/commit/eb61aade8f8daccaecabf07d428b877975622f72
- https://github.com/apache/tomcat/commit/f6c01d6577cf9a1e06792be47e623d36acc3b5dc
- https://linux.oracle.com/cve/CVE-2025-24813.html
- https://linux.oracle.com/errata/ELSA-2025-7497.html
- https://lists.apache.org/thread/j5fkjv2k477os90nczf2v9l61fb0kkgq
- https://lists.debian.org/debian-lts-announce/2025/04/msg00003.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-24813
- https://security.netapp.com/advisory/ntap-20250321-0001
- https://security.netapp.com/advisory/ntap-20250321-0001/
- https://ubuntu.com/security/notices/USN-7525-1
- https://ubuntu.com/security/notices/USN-7525-2
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24813
- https://www.cve.org/CVERecord?id=CVE-2025-24813
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-detect-apache-tomcat-rce
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-mitigate-apache-tomcat-rce
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-tomcat-detect-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-tomcat-mitigation-vulnerability