CVE-2025-24813: Apache Tomcat Path Equivalence Vulnerability

Published Mar 10, 2025
·
Updated

Apache Commons Codec could allow a remote attacker to obtain sensitive information, caused by the improper validation of input. An attacker could exploit this vulnerability using a method call to obtain sensitive information.

Other sources

Apache Tomcat contains a path equivalence vulnerability that allows a remote attacker to execute code, disclose information, or inject malicious content via a partial PUT request.

CISA

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.

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.98, which fixes the issue.

Red Hat

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.

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.

GitHub

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.

NVD

Affected Software

61 affected componentsFixes available
Apache Tomcat>=11.0.0-M1<11.0.2, >=10.1.0-M1<10.1.34, >=9.0.0-M1<9.0.98
Apache Tomcat
F5 Traffix SDC=5.2.0
IBM Analytics Content Hub<=2.0 - 2.3
maven/org.apache.tomcat.embed:tomcat-embed-core>=9.0.0.M1<9.0.99
9.0.99
maven/org.apache.tomcat.embed:tomcat-embed-core>=10.1.0-M1<10.1.35
10.1.35
maven/org.apache.tomcat.embed:tomcat-embed-core>=11.0.0-M1<11.0.3
11.0.3
maven/org.apache.tomcat:tomcat-catalina>=9.0.0.M1<9.0.99
9.0.99
maven/org.apache.tomcat:tomcat-catalina>=10.1.0-M1<10.1.35
10.1.35
maven/org.apache.tomcat:tomcat-catalina>=11.0.0-M1<11.0.3
11.0.3
Apache Tomcat<9.0.99
Apache Tomcat>=10.1.1<10.1.35
Apache Tomcat>=11.0.1<11.0.3
Apache Tomcat=10.1.0-milestone1
Apache Tomcat=10.1.0-milestone10
Apache Tomcat=10.1.0-milestone11
Apache Tomcat=10.1.0-milestone12
Apache Tomcat=10.1.0-milestone13
Apache Tomcat=10.1.0-milestone14
Apache Tomcat=10.1.0-milestone15
Apache Tomcat=10.1.0-milestone16
Apache Tomcat=10.1.0-milestone17
Apache Tomcat=10.1.0-milestone18
Apache Tomcat=10.1.0-milestone19
Apache Tomcat=10.1.0-milestone2
Apache Tomcat=10.1.0-milestone20
Apache Tomcat=10.1.0-milestone3
Apache Tomcat=10.1.0-milestone4
Apache Tomcat=10.1.0-milestone5
Apache Tomcat=10.1.0-milestone6
Apache Tomcat=10.1.0-milestone7
Apache Tomcat=10.1.0-milestone8
Apache Tomcat=10.1.0-milestone9
Apache Tomcat=11.0.0-milestone1
Apache Tomcat=11.0.0-milestone10
Apache Tomcat=11.0.0-milestone11
Apache Tomcat=11.0.0-milestone12
Apache Tomcat=11.0.0-milestone13
Apache Tomcat=11.0.0-milestone14
Apache Tomcat=11.0.0-milestone15
Apache Tomcat=11.0.0-milestone16
Apache Tomcat=11.0.0-milestone17
Apache Tomcat=11.0.0-milestone18
Apache Tomcat=11.0.0-milestone19
Apache Tomcat=11.0.0-milestone2
Apache Tomcat=11.0.0-milestone20
Apache Tomcat=11.0.0-milestone21
Apache Tomcat=11.0.0-milestone22
Apache Tomcat=11.0.0-milestone23
Apache Tomcat=11.0.0-milestone24
Apache Tomcat=11.0.0-milestone25
Apache Tomcat=11.0.0-milestone3
Apache Tomcat=11.0.0-milestone4
Apache Tomcat=11.0.0-milestone5
Apache Tomcat=11.0.0-milestone6
Apache Tomcat=11.0.0-milestone7
Apache Tomcat=11.0.0-milestone8
Apache Tomcat=11.0.0-milestone9
Debian Debian Linux=11.0
All of the following
NetApp Bootstrap Os
NetApp Hci Compute Node

Remediation

Information

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Event History

Mar 10, 2025
CVE Published
via MITRE·04:44 PM
Data Sourced
via MITRE·04:44 PM
DescriptionWeakness
Data Sourced
via Red Hat·05:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:31 PM
Data Sourced
via GitHub·06:31 PM
DescriptionSeverityWeaknessAffected Software
Mar 17, 2025
News Published
via BleepingComputer·01:29 PM
News Published
via BleepingComputer·01:30 PM
Mar 18, 2025
News Published
via The Register·12:44 AM
News Published
via The Register·12:49 AM
Mar 20, 2025
Advisory Published
via F5·08:24 PM
Apr 1, 2025
Known Exploited
via CISA·12:00 AM
Apr 7, 2025
Exploit Published
12:00 AM
Jun 11, 2025
News Published
via BleepingComputer·02:27 PM
Jul 9, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-24813?

CVE-2025-24813 has a high severity due to potential Remote Code Execution and information disclosure risks.

2

How do I fix CVE-2025-24813?

To fix CVE-2025-24813, upgrade Apache Tomcat to version 11.0.3 or later, 10.1.35 or later, or 9.0.99 or later.

3

Which versions of Apache Tomcat are affected by CVE-2025-24813?

Apache Tomcat versions from 11.0.0-M1 through 11.0.2, 10.1.0-M1 through 10.1.34, and 9.0.0-M1 through 9.0.98 are affected by CVE-2025-24813.

4

What type of vulnerabilities does CVE-2025-24813 involve?

CVE-2025-24813 involves path equivalence problems leading to remote code execution and information disclosure.

5

Can CVE-2025-24813 allow malicious content in uploaded files?

Yes, CVE-2025-24813 can potentially allow malicious content to be added to uploaded files due to a write-enabled Default Servlet.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203