cve.bz

CVE-2017-12616 apache tomcat

7.5 highEPSS 70%Fix available

High (7.5) in apache tomcat. EPSS 70% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat-catalina 7.0.81.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
70% (unchanged from 70% a week ago; 70% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-12616 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-12616?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-12616?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-12616 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2017-12616

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2017-12616](https://cve.bz/cve/badge/CVE-2017-12616.svg)](https://cve.bz/cve/CVE-2017-12616)

HTML:

<a href="https://cve.bz/cve/CVE-2017-12616"><img src="https://cve.bz/cve/badge/CVE-2017-12616.svg" alt="CVE-2017-12616"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:tomcat7.0.0
apache:tomcat7.0.0:beta
apache:tomcat7.0.1
apache:tomcat7.0.2
apache:tomcat7.0.2:beta
apache:tomcat7.0.3
apache:tomcat7.0.4
apache:tomcat7.0.4:beta
apache:tomcat7.0.5
apache:tomcat7.0.5:beta
apache:tomcat7.0.6
apache:tomcat7.0.7
apache:tomcat7.0.8
apache:tomcat7.0.9
apache:tomcat7.0.10
apache:tomcat7.0.11
apache:tomcat7.0.12
apache:tomcat7.0.13
apache:tomcat7.0.14
apache:tomcat7.0.15
apache:tomcat7.0.16
apache:tomcat7.0.17
apache:tomcat7.0.18
apache:tomcat7.0.19
apache:tomcat7.0.20
apache:tomcat7.0.21
apache:tomcat7.0.22
apache:tomcat7.0.23
apache:tomcat7.0.24
apache:tomcat7.0.25
apache:tomcat7.0.26
apache:tomcat7.0.27
apache:tomcat7.0.28
apache:tomcat7.0.29
apache:tomcat7.0.30
apache:tomcat7.0.31
apache:tomcat7.0.32
apache:tomcat7.0.33
apache:tomcat7.0.34
apache:tomcat7.0.35
apache:tomcat7.0.36
apache:tomcat7.0.37
apache:tomcat7.0.38
apache:tomcat7.0.39
apache:tomcat7.0.40
apache:tomcat7.0.41
apache:tomcat7.0.42
apache:tomcat7.0.43
apache:tomcat7.0.44
apache:tomcat7.0.45
apache:tomcat7.0.46
apache:tomcat7.0.47
apache:tomcat7.0.48
apache:tomcat7.0.49
apache:tomcat7.0.50
apache:tomcat7.0.51
apache:tomcat7.0.54
apache:tomcat7.0.55
apache:tomcat7.0.56
apache:tomcat7.0.57
apache:tomcat7.0.58
apache:tomcat7.0.59
apache:tomcat7.0.60
apache:tomcat7.0.61
apache:tomcat7.0.62
apache:tomcat7.0.63
apache:tomcat7.0.64
apache:tomcat7.0.65
apache:tomcat7.0.66
apache:tomcat7.0.67
apache:tomcat7.0.68
apache:tomcat7.0.69
apache:tomcat7.0.70
apache:tomcat7.0.71
apache:tomcat7.0.72
apache:tomcat7.0.73
apache:tomcat7.0.74
apache:tomcat7.0.75
apache:tomcat7.0.76
apache:tomcat7.0.77
apache:tomcat7.0.79
apache:tomcat7.0.80

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8qq4-8jvq-mfw4Mavenorg.apache.tomcat:tomcat-catalina>=7.0.0 <7.0.817.0.81

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7tomcat77.0.28-4+deb7u15DLA-1108-1
Debian8tomcat77.0.56-3+really7.0.88-1DLA-1400-1
Ubuntu14.04:LTStomcat77.0.52-1ubuntu0.14UBUNTU-CVE-2017-12616 USN-3665-1
Ubuntu16.04:LTStomcat88.0.32-1ubuntu1.6USN-3665-1
Ubuntu18.04:LTStomcat88.5.30-1ubuntu1.2USN-3665-1
UbuntuPro:16.04:LTStomcat77.0.68-1ubuntu0.4+esm3UBUNTU-CVE-2017-12616 USN-7282-1
UbuntuPro:18.04:LTStomcat7no fix listedUBUNTU-CVE-2017-12616
Red Hatjboss_enterprise_web_server:3.1::el6mod_cluster, mod_cluster-tomcat7, mod_cluster-tomcat80:1.3.8-2.Final_redhat_2.1.ep7.el6RHSA-2018:0466
Red Hatjboss_enterprise_web_server:3.1::el6tomcat-native, tomcat-native-debuginfo0:1.2.8-11.redhat_11.ep7.el6RHSA-2018:0466
Red Hatjboss_enterprise_web_server:3.1::el6tomcat-vault, tomcat-vault-tomcat7, tomcat-vault-tomcat80:1.1.6-1.Final_redhat_1.1.ep7.el6RHSA-2018:0466
Red Hatjboss_enterprise_web_server:3.1::el6tomcat7, tomcat7-lib, tomcat7-jsvc and 9 more0:7.0.70-25.ep7.el6RHSA-2018:0466
Red Hatjboss_enterprise_web_server:3.1::el6tomcat8, tomcat8-lib, tomcat8-jsvc and 9 more0:8.0.36-29.ep7.el6RHSA-2018:0466
Red Hatjboss_enterprise_web_server:3.1::el7mod_cluster, mod_cluster-tomcat7, mod_cluster-tomcat80:1.3.8-2.Final_redhat_2.1.ep7.el7RHSA-2018:0466
Red Hatjboss_enterprise_web_server:3.1::el7tomcat-native, tomcat-native-debuginfo0:1.2.8-11.redhat_11.ep7.el7RHSA-2018:0466
Red Hatjboss_enterprise_web_server:3.1::el7tomcat-vault, tomcat-vault-tomcat7, tomcat-vault-tomcat80:1.1.6-1.Final_redhat_1.1.ep7.el7RHSA-2018:0466
Red Hatjboss_enterprise_web_server:3.1::el7tomcat7, tomcat7-lib, tomcat7-jsvc and 9 more0:7.0.70-25.ep7.el7RHSA-2018:0466
Red Hatjboss_enterprise_web_server:3.1::el7tomcat8, tomcat8-lib, tomcat8-jsvc and 9 more0:8.0.36-29.ep7.el7RHSA-2018:0466
SUSELinux Enterprise Server 12-LTSStomcat7.0.82-7.16.1SUSE-SU-2017:3059-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

VirtualDirContext is not designed to be used in production, but only to ease development with IDEs without needing to fully republish jars in WEB-INF/lib.

ProductPackageStateAdvisory
Red Hat JBoss Web Server 3.1Fixed 2018-03-07RHSA-2018:0465
Red Hat JBoss Web Server 3 for RHEL 6mod_cluster-0:1.3.8-2.Final_redhat_2.1.ep7.el6Fixed 2018-03-07RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 6tomcat7-0:7.0.70-25.ep7.el6Fixed 2018-03-07RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 6tomcat8-0:8.0.36-29.ep7.el6Fixed 2018-03-07RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 6tomcat-native-0:1.2.8-11.redhat_11.ep7.el6Fixed 2018-03-07RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 6tomcat-vault-0:1.1.6-1.Final_redhat_1.1.ep7.el6Fixed 2018-03-07RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 7mod_cluster-0:1.3.8-2.Final_redhat_2.1.ep7.el7Fixed 2018-03-07RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 7tomcat7-0:7.0.70-25.ep7.el7Fixed 2018-03-07RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 7tomcat8-0:8.0.36-29.ep7.el7Fixed 2018-03-07RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 7tomcat-native-0:1.2.8-11.redhat_11.ep7.el7Fixed 2018-03-07RHSA-2018:0466
Red Hat Enterprise Linux 5tomcat5Not affected
Red Hat Enterprise Linux 6tomcat6Will not fix
Red Hat Enterprise Linux 7tomcatWill not fix
Red Hat JBoss Data Grid 6jbosswebNot affected
Red Hat JBoss Data Virtualization 6jbosswebNot affected
Red Hat JBoss Enterprise Application Platform 6jbosswebWill not fix
Red Hat JBoss Enterprise Web Server 2tomcat7Will not fix
Red Hat JBoss Fuse 6jbosswebNot affected
Red Hat JBoss Operations Network 3jbosswebWill not fix
Red Hat JBoss Portal 6jbosswebWill not fix
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-12616.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON