CVE-2017-12616: Infoleak
Last updated 25 August 2025
Other sources
When using a VirtualDirContext with Apache Tomcat 7.0.0 to 7.0.80 it was possible to bypass security constraints and/or view the source code of JSPs for resources served by the VirtualDirContext using a specially crafted request.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/tomcat7to a version that resolves this vulnerability.Fixed in 0:7.0.70-25.ep7.el6 - Upgrade
Upgrade
redhat/tomcat8to a version that resolves this vulnerability.Fixed in 0:8.0.36-29.ep7.el6 - Upgrade
Upgrade
redhat/tomcat-nativeto a version that resolves this vulnerability.Fixed in 0:1.2.8-11.redhat_11.ep7.el6 - Upgrade
Upgrade
redhat/tomcat-vaultto a version that resolves this vulnerability.Fixed in 0:1.1.6-1.Final_redhat_1.1.ep7.el6 - Upgrade
Upgrade
redhat/tomcat7to a version that resolves this vulnerability.Fixed in 0:7.0.70-25.ep7.el7 - Upgrade
Upgrade
redhat/tomcat8to a version that resolves this vulnerability.Fixed in 0:8.0.36-29.ep7.el7 - Upgrade
Upgrade
redhat/tomcat-nativeto a version that resolves this vulnerability.Fixed in 0:1.2.8-11.redhat_11.ep7.el7 - Upgrade
Upgrade
redhat/tomcat-vaultto a version that resolves this vulnerability.Fixed in 0:1.1.6-1.Final_redhat_1.1.ep7.el7 - Upgrade
Upgrade
redhat/tomcatto a version that resolves this vulnerability.Fixed in 7.0.81 - Upgrade
Upgrade
Apache Tomcat 7to a version that resolves this vulnerability.Fixed in 7.0.81Patch Fixed_in_Apache_Tomcat_7.0.81
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2017-12616?
CVE-2017-12616 is considered a high severity vulnerability that allows for security constraint bypass and potential disclosure of JSP source code.
How do I fix CVE-2017-12616?
To fix CVE-2017-12616, upgrade to Apache Tomcat version 7.0.81 or later.
Which versions of Apache Tomcat are affected by CVE-2017-12616?
CVE-2017-12616 affects Apache Tomcat versions 7.0.0 to 7.0.80.
What types of attacks can exploit CVE-2017-12616?
CVE-2017-12616 can be exploited through specially crafted requests that bypass security constraints.
Is CVE-2017-12616 relevant for production environments using Apache Tomcat?
Yes, CVE-2017-12616 is critical for production environments as it poses a risk of unauthorized access to sensitive data.