CVE-2021-25329: Potential remote code execution in Apache Tomcat
Summary
CVE-2021-25329: Potential remote code execution in Apache Tomcat. Affects org.apache.tomcat.embed:tomcat-embed-core across 4 version ranges.
>= 7.0.0, < 7.0.108
>= 8.0.0, < 8.5.61
>= 9.0.0, < 9.0.41
>= 10.0.0-M1, < 10.0.2
Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓
Also tracked for
The same CVE-2021-25329 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Tomcat is an open-source web server and servlet container that is widely used for hosting Java-based web applications. It provides a robust and efficient platform for running Java web applications, supporting the latest Java Servlet API specifications. However, a vulnerability has been identified in Apache Tomcat that could potentially allow remote code execution.
Vulnerability Detail
The vulnerability, identified as CVE-2021-25329, is a potential remote code execution flaw in Apache Tomcat. The issue stems from an incomplete fix for a previously reported vulnerability, CVE-2020-9484. This vulnerability affects Apache Tomcat versions 10.0.0-M1 to 10.0.0, 9.0.0.M1 to 9.0.41, 8.5.0 to 8.5.61, and 7.0.0 to 7.0.107. In a highly unlikely configuration edge case, the Tomcat instance remains vulnerable to CVE-2020-9494, despite the previously published prerequisites and mitigations for CVE-2020-9484 also being applicable to this issue. Exploiting this vulnerability could lead to remote code execution, potentially allowing an attacker to execute arbitrary code on the affected system.
How To Fix
Latest published version: 11.0.27 as of 23 Oct 2026
Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.
If you can't move to the latest
The minimum fixed version depends on the release line you run.
-
>= 7.0.0, < 7.0.1087.0.108 -
>= 8.0.0, < 8.5.618.5.61 -
>= 9.0.0, < 9.0.419.0.41 -
>= 10.0.0-M1, < 10.0.210.0.2
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by following the previously published prerequisites and mitigations for CVE-2020-9484, which also apply to this issue.
Conclusion
In conclusion, CVE-2021-25329 is a potential remote code execution vulnerability in Apache Tomcat. Users of affected versions should upgrade to the fixed versions to ensure the vulnerability is patched. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.apache.tomcat.embed:tomcat-embed-core →
FAQ
Apache Tomcat is an open-source web server and servlet container used for hosting Java-based web applications.
CVE-2021-25329 is a potential remote code execution vulnerability in Apache Tomcat.
Apache Tomcat versions 10.0.0-M1 to 10.0.0, 9.0.0.M1 to 9.0.41, 8.5.0 to 8.5.61, and 7.0.0 to 7.0.107 are affected.
Exploiting this vulnerability could allow an attacker to execute arbitrary code on the affected system, potentially leading to remote code execution.
To fix this vulnerability, it is recommended to upgrade to the fixed versions of Apache Tomcat: 10.0.2, 9.0.41, 8.5.61, or 7.0.108.
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.tomcat.embed:tomcat-embed-core.