serveResource
java/org/apache/catalina/servlets/DefaultServlet.java
Last patched
Overview
serveResource in java/org/apache/catalina/servlets/DefaultServlet.java (apache/tomcat) was changed by 3 published CVE fixes between 2016 and 2017, in 10 distinct patches that added or removed 37 lines in total.
apache/tomcat has 161 CVEs with a located fix in total, so 2% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed serveResource, newest first, with the lines each fix touched.
CVE-2017-12617 · line 863 · +0 −17
High · CVSS 8.1EPSS 100.0%2017-10-03CVE-2017-5664 · line 863 · +1 −2
High · CVSS 7.5EPSS 16.6%2017-06-06CVE-2015-5345 · lines 693–825 · +9 −8 in 3 hunks
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.
- 1validateGlobalXsltFilejava/org/apache/catalina/servlets/DefaultServlet.java9 patches · 4 CVEs2014 to 2021
- 2doDirectoryRedirectjava/org/apache/catalina/servlets/DefaultServlet.java5 patches · 2 CVEs2016 to 2018
- 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 serveResource.
- How many CVEs have patched serveResource?
- 3 published CVEs changed serveResource in apache/tomcat, in 10 distinct patches totalling 37 changed lines, between 2016 and 2017.
- What is the latest CVE that changed serveResource?
- CVE-2017-12617 (Unrestricted Upload of File with Dangerous Type Apache Tomcat), published 2017-10-03, changed lines 863 of java/org/apache/catalina/servlets/DefaultServlet.java.
- How does serveResource compare to the rest of apache/tomcat?
- apache/tomcat has 161 CVEs with a located fix in total; 3 of them changed serveResource.
- 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.