Patchfirst
CVE-2017-12616 EPSS 70.1%

When using a VirtualDirContext with Apache Tomcat 7.0.0 to 7.0.80 it was possible to bypass security constraints…

Fix:upgrade tomcat-catalina to 7.0.104 or later also fixes CVE-2016-8735, CVE-2017-12617, +2 Details ↓

Apache Software Foundation · Apache Tomcat

Summary

Apache Tomcat versions 7.0.0 through 7.0.80 contain a flaw in the VirtualDirContext component.

Official description · CVE.org

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.

Breakdown
19.9 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 19 Sep 2017. No public exploit code or confirmed exploitation is recorded.

7 fixes in tomcat-catalina over 5 years. The latest fix listed for tomcat-catalina is 9.0.1.

Fixes in tomcat-catalinaMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 7.0.30CVE-2012-588617 Nov 2012
  2. 7.0.81CVE-2017-1261619 Sep 2017
  3. 8.0.6CVE-2014-009631 May 2014
  4. 8.0.6CVE-2014-011931 May 2014
  5. 8.5.5CVE-2016-538819 Jul 2016
  6. 9.0.0.M18CVE-2017-564817 Apr 2017
  7. 9.0.1CVE-2017-126174 Oct 2017KEVLatest listed

Affected versions and fixes

as published in the CVE record

Apache Software Foundation Apache Tomcat

Affected: 7.0.0 to 7.0.80

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.apache.tomcat:tomcat-catalina.

Mavenorg.apache.tomcat:tomcat-catalinaGHSA-8qq4-8jvq-mfw4

Upgrade to 7.0.104 or later

Fixes this CVE and 4 other known vulnerabilities in this package (CVE-2016-8735, CVE-2017-12617, +2).

Set the version to 7.0.104 or later in your pom.xml or build.gradle.

First fixed in 7.0.81 for CVE-2017-12616.

Affected versions

If you runUpgrade to
7.0.0 up to 7.0.817.0.104first fix for this CVE: 7.0.81

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

14 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close