tomcat: Information Disclosure when using VirtualDirContext
Published Sep 19, 2017
7.5
HIGHCVSS 3.0
EPSS 70.12%
Description
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 products
-
- Version 7.0.0 to 7.0.80StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Tomcat | n/a |
|
- 7.0.0
- 7.0.0
- 7.0.1
- 7.0.2
- 7.0.2
- 7.0.3
- 7.0.4
- 7.0.4
- 7.0.5
- 7.0.5
- 7.0.6
- 7.0.7
- 7.0.8
- 7.0.9
- 7.0.10
- 7.0.11
- 7.0.12
- 7.0.13
- 7.0.14
- 7.0.15
- 7.0.16
- 7.0.17
- 7.0.18
- 7.0.19
- 7.0.20
- 7.0.21
- 7.0.22
- 7.0.23
- 7.0.24
- 7.0.25
- 7.0.26
- 7.0.27
- 7.0.28
- 7.0.29
- 7.0.30
- 7.0.31
- 7.0.32
- 7.0.33
- 7.0.34
- 7.0.35
- 7.0.36
- 7.0.37
- 7.0.38
- 7.0.39
- 7.0.40
- 7.0.41
- 7.0.42
- 7.0.43
- 7.0.44
- 7.0.45
- 7.0.46
- 7.0.47
- 7.0.48
- 7.0.49
- 7.0.50
- 7.0.51
- 7.0.54
- 7.0.55
- 7.0.56
- 7.0.57
- 7.0.58
- 7.0.59
- 7.0.60
- 7.0.61
- 7.0.62
- 7.0.63
- 7.0.64
- 7.0.65
- 7.0.66
- 7.0.67
- 7.0.68
- 7.0.69
- 7.0.70
- 7.0.71
- 7.0.72
- 7.0.73
- 7.0.74
- 7.0.75
- 7.0.76
- 7.0.77
- 7.0.79
- 7.0.80
No data.
Red Hat JBoss Web Server 3 for RHEL 6
mod_cluster-0:1.3.8-2.Final_redhat_2.1.ep7.el6
Fixed · RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 6
tomcat-native-0:1.2.8-11.redhat_11.ep7.el6
Fixed · RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 6
tomcat-vault-0:1.1.6-1.Final_redhat_1.1.ep7.el6
Fixed · RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 6
tomcat7-0:7.0.70-25.ep7.el6
Fixed · RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 6
tomcat8-0:8.0.36-29.ep7.el6
Fixed · RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 7
mod_cluster-0:1.3.8-2.Final_redhat_2.1.ep7.el7
Fixed · RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 7
tomcat-native-0:1.2.8-11.redhat_11.ep7.el7
Fixed · RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 7
tomcat-vault-0:1.1.6-1.Final_redhat_1.1.ep7.el7
Fixed · RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 7
tomcat7-0:7.0.70-25.ep7.el7
Fixed · RHSA-2018:0466
Red Hat JBoss Web Server 3 for RHEL 7
tomcat8-0:8.0.36-29.ep7.el7
Fixed · RHSA-2018:0466
Red Hat JBoss Web Server 3.1
n/a
Fixed · RHSA-2018:0465
Red Hat Enterprise Linux 5
tomcat5
Not affected
Red Hat Enterprise Linux 6
tomcat6
Will not fix
Red Hat Enterprise Linux 7
tomcat
Will not fix
Red Hat JBoss Data Grid 6
jbossweb
Not affected
Red Hat JBoss Data Virtualization 6
jbossweb
Not affected
Red Hat JBoss Enterprise Application Platform 6
jbossweb
Will not fix
Red Hat JBoss Enterprise Web Server 2
tomcat7
Will not fix
Red Hat JBoss Fuse 6
jbossweb
Not affected
Red Hat JBoss Operations Network 3
jbossweb
Will not fix
Red Hat JBoss Portal 6
jbossweb
Will not fix
Red Hat Software Collections
rh-java-common-tomcat
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Web Server 3 for RHEL 6 | mod_cluster-0:1.3.8-2.Final_redhat_2.1.ep7.el6 | Fixed | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 for RHEL 6 | tomcat-native-0:1.2.8-11.redhat_11.ep7.el6 | Fixed | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 for RHEL 6 | tomcat-vault-0:1.1.6-1.Final_redhat_1.1.ep7.el6 | Fixed | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 for RHEL 6 | tomcat7-0:7.0.70-25.ep7.el6 | Fixed | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 for RHEL 6 | tomcat8-0:8.0.36-29.ep7.el6 | Fixed | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 for RHEL 7 | mod_cluster-0:1.3.8-2.Final_redhat_2.1.ep7.el7 | Fixed | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 for RHEL 7 | tomcat-native-0:1.2.8-11.redhat_11.ep7.el7 | Fixed | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 for RHEL 7 | tomcat-vault-0:1.1.6-1.Final_redhat_1.1.ep7.el7 | Fixed | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 for RHEL 7 | tomcat7-0:7.0.70-25.ep7.el7 | Fixed | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 for RHEL 7 | tomcat8-0:8.0.36-29.ep7.el7 | Fixed | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3.1 | n/a | Fixed | RHSA-2018:0465 |
| Red Hat Enterprise Linux 5 | tomcat5 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | tomcat6 | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | tomcat | Will not fix | n/a |
| Red Hat JBoss Data Grid 6 | jbossweb | Not affected | n/a |
| Red Hat JBoss Data Virtualization 6 | jbossweb | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 6 | jbossweb | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 2 | tomcat7 | Will not fix | n/a |
| Red Hat JBoss Fuse 6 | jbossweb | Not affected | n/a |
| Red Hat JBoss Operations Network 3 | jbossweb | Will not fix | n/a |
| Red Hat JBoss Portal 6 | jbossweb | Will not fix | n/a |
| Red Hat Software Collections | rh-java-common-tomcat | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 4, 2026.
Score over time
2021-2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (54 key points)
Flat stretches are collapsed. Showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 4, 2026 | 70.12% (0.70118) | 99.36th | v5 (v2026.06.15) |
| Sep 22, 2026 | 70.12% (0.70118) | 99.35th | v5 (v2026.06.15) |
| Sep 21, 2026 | 63.54% (0.63540) | 99.20th | v5 (v2026.06.15) |
| Sep 20, 2026 | 70.12% (0.70118) | 99.35th | v5 (v2026.06.15) |
| Sep 6, 2026 | 70.80% (0.70800) | 99.35th | v5 (v2026.06.15) |
| Sep 5, 2026 | 64.36% (0.64362) | 99.20th | v5 (v2026.06.15) |
| Aug 30, 2026 | 70.80% (0.70800) | 99.35th | v5 (v2026.06.15) |
| Aug 28, 2026 | 64.36% (0.64362) | 99.20th | v5 (v2026.06.15) |
| Aug 24, 2026 | 70.80% (0.70800) | 99.35th | v5 (v2026.06.15) |
| Aug 23, 2026 | 64.36% (0.64362) | 99.20th | v5 (v2026.06.15) |
| Jun 15, 2026 | 70.80% (0.70800) | 99.31th | v5 (v2026.06.15) |
| Mar 4, 2026 | 91.50% (0.91499) | 99.66th | v4 (v2025.03.14) |
| Mar 1, 2026 | 89.80% (0.89803) | 99.57th | v4 (v2025.03.14) |
| Feb 4, 2026 | 91.50% (0.91499) | 99.65th | v4 (v2025.03.14) |
| Feb 1, 2026 | 89.80% (0.89803) | 99.56th | v4 (v2025.03.14) |
| Jan 4, 2026 | 91.50% (0.91499) | 99.65th | v4 (v2025.03.14) |
| Jan 1, 2026 | 89.80% (0.89803) | 99.55th | v4 (v2025.03.14) |
| Dec 4, 2025 | 91.50% (0.91499) | 99.64th | v4 (v2025.03.14) |
| Dec 1, 2025 | 89.80% (0.89803) | 99.55th | v4 (v2025.03.14) |
| Nov 4, 2025 | 91.50% (0.91499) | 99.65th | v4 (v2025.03.14) |
| Nov 1, 2025 | 89.80% (0.89803) | 99.55th | v4 (v2025.03.14) |
| Oct 4, 2025 | 91.50% (0.91499) | 99.65th | v4 (v2025.03.14) |
| Oct 1, 2025 | 89.80% (0.89803) | 99.55th | v4 (v2025.03.14) |
| Sep 4, 2025 | 91.50% (0.91499) | 99.66th | v4 (v2025.03.14) |
| Sep 1, 2025 | 89.80% (0.89803) | 99.56th | v4 (v2025.03.14) |
| Aug 4, 2025 | 91.50% (0.91499) | 99.65th | v4 (v2025.03.14) |
| Aug 1, 2025 | 89.80% (0.89803) | 99.55th | v4 (v2025.03.14) |
| Jul 4, 2025 | 91.05% (0.91050) | 99.62th | v4 (v2025.03.14) |
| Jul 1, 2025 | 89.10% (0.89099) | 99.51th | v4 (v2025.03.14) |
| Jun 4, 2025 | 91.31% (0.91315) | 99.63th | v4 (v2025.03.14) |
| Jun 1, 2025 | 89.51% (0.89514) | 99.53th | v4 (v2025.03.14) |
| May 4, 2025 | 91.31% (0.91315) | 99.62th | v4 (v2025.03.14) |
| May 1, 2025 | 89.51% (0.89514) | 99.52th | v4 (v2025.03.14) |
| Apr 30, 2025 | 91.31% (0.91315) | 99.62th | v4 (v2025.03.14) |
| Mar 29, 2025 | 88.56% (0.88556) | 99.40th | v4 (v2025.03.14) |
| Mar 17, 2025 | 91.43% (0.91430) | 99.66th | v4 (v2025.03.14) |
| Dec 17, 2024 | 86.09% (0.86087) | 98.81th | v3 (v2023.03.01) |
| Dec 12, 2024 | 90.51% (0.90509) | 98.96th | v3 (v2023.03.01) |
| Aug 13, 2024 | 90.79% (0.90789) | 98.90th | v3 (v2023.03.01) |
| Aug 11, 2024 | 88.53% (0.88530) | 98.76th | v3 (v2023.03.01) |
| Jun 1, 2024 | 90.79% (0.90789) | 98.83th | v3 (v2023.03.01) |
| Dec 24, 2023 | 92.58% (0.92585) | 98.79th | v3 (v2023.03.01) |
| Nov 8, 2023 | 93.63% (0.93629) | 98.87th | v3 (v2023.03.01) |
| May 8, 2023 | 96.17% (0.96168) | 99.20th | v3 (v2023.03.01) |
| Mar 22, 2023 | 96.13% (0.96125) | 99.14th | v3 (v2023.03.01) |
| Mar 13, 2023 | 96.27% (0.96268) | 99.18th | v3 (v2023.03.01) |
| Mar 7, 2023 | 96.47% (0.96465) | 99.25th | v3 (v2023.03.01) |
| Mar 6, 2023 | 5.24% (0.05242) | 89.75th | v2 (v2022.01.01) |
| Apr 1, 2022 | 5.24% (0.05242) | 88.72th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.24% (0.05242) | 75.28th | v2 (v2022.01.01) |
| Feb 3, 2022 | 8.73% (0.08728) | 85.97th | v1 |
| Jan 6, 2022 | 8.73% (0.08728) | 85.81th | v1 |
| Sep 1, 2021 | 8.73% (0.08728) | 93.15th | v1 |
| Apr 14, 2021 | 8.73% (0.08728) | 0.00th | v1 |
References (25)
- http://www.securityfocus.com/bid/100897 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1039393 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:0465 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2018:0466 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-12616 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1493222 Issue Tracking
- https://github.com/advisories/GHSA-8qq4-8jvq-mfw4 Advisory
- https://lists.apache.org/thread.html/1df9b4552464caa42047062fe7175da0da06c18ecc8daf99258bbda6%40%3Cannounce.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/1df9b4552464caa42047062fe7175da0da06c18ecc8daf99258bbda6@%3Cannounce.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2018/06/msg00008.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2017-12616
- https://security.netapp.com/advisory/ntap-20171018-0001/ x_refsource_CONFIRM
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03828en_us x_refsource_CONFIRM
- https://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.81
- https://usn.ubuntu.com/3665-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2017-12616
- https://www.synology.com/support/security/Synology_SA_17_54_Tomcat x_refsource_CONFIRM
Change history (0)
No recorded changes yet.