doDirectoryRedirect
java/org/apache/catalina/servlets/DefaultServlet.java
Last patched
Overview
doDirectoryRedirect in java/org/apache/catalina/servlets/DefaultServlet.java (apache/tomcat) was changed by 2 published CVE fixes between 2016 and 2018, in 5 distinct patches that added or removed 14 lines in total.
apache/tomcat has 160 CVEs with a located fix in total, so 1% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed doDirectoryRedirect, newest first, with the lines each fix touched.
CVE-2018-11784 · lines 1316–1319 · +4 −0
Medium · CVSS 4.3EPSS 97.7%2018-10-04CVE-2015-5345 · lines 1034–1043 · +10 −0
Medium · CVSS 5.3EPSS 18.4%2016-02-25
Get an alert when the next CVE fix lands in apache/tomcat, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1serveResourcejava/org/apache/catalina/servlets/DefaultServlet.java10 patches · 3 CVEs2016 to 2017
- 2validateGlobalXsltFilejava/org/apache/catalina/servlets/DefaultServlet.java9 patches · 4 CVEs2014 to 2021
- 3renderXmljava/org/apache/catalina/servlets/DefaultServlet.java4 patches · 2 CVEs2014
- 4findXsltInputStreamjava/org/apache/catalina/servlets/DefaultServlet.java4 patches · 1 CVE2014
- 5executePartialPutjava/org/apache/catalina/servlets/DefaultServlet.java3 patches · 1 CVE2025
- 6servicejava/org/apache/catalina/servlets/DefaultServlet.java3 patches · 1 CVE2017
- 7doPutjava/org/apache/catalina/servlets/DefaultServlet.java3 patches · 1 CVE2025
- 8renderjava/org/apache/catalina/servlets/DefaultServlet.java2 patches · 2 CVEs2014 to 2017
Other hotspots in the repository
Functions in apache/tomcat changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to doDirectoryRedirect.
- How many CVEs have patched doDirectoryRedirect?
- 2 published CVEs changed doDirectoryRedirect in apache/tomcat, in 5 distinct patches totalling 14 changed lines, between 2016 and 2018.
- What is the latest CVE that changed doDirectoryRedirect?
- CVE-2018-11784 (Apache Tomcat Open Redirect vulnerability), published 2018-10-04, changed lines 1316 to 1319 of java/org/apache/catalina/servlets/DefaultServlet.java.
- How does doDirectoryRedirect compare to the rest of apache/tomcat?
- apache/tomcat has 160 CVEs with a located fix in total; 2 of them changed doDirectoryRedirect.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- java/org/apache/catalina/servlets/DefaultServlet.java on GitHub (opens in a new tab)
- All patched functions in apache/tomcat
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track apache/tomcat CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.