Skip to main content
No exploitation reportedFix available

CVE-2016-6797

No exploitation reported by the sources we read.

  • Published2017-08-10
  • WeaknessCWE-863

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

The ResourceLinkFactory implementation in Apache Tomcat 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36, 7.0.0 to 7.0.70 and 6.0.0 to 6.0.45 did not limit web application access to global JNDI resources to those resources explicitly linked to the web application. Therefore, it was possible for a web application to access any global JNDI resource whether an explicit ResourceLink had been configured or not.

Timeline

dates in UTC
  1. 2017-08-1022:29CVE publishedNVD

Versions per branch

NVD · OSV
Apache Tomcat
BranchAffectedFixed in
6.0≥ 6.0.0, ≤ 6.0.45no fix published
7.0≥ 7.0.0, ≤ 7.0.70no fix published
8.0≥ 8.0, ≤ 8.0.36no fix published
8.5≥ 8.5.0, ≤ 8.5.4no fix published
9.0= 9.0.0no fix published
Redhat enterprise linux eus
BranchAffectedFixed in
7.4= 7.4no fix published
7.5= 7.5no fix published
7.6= 7.6no fix published
7.7= 7.7no fix published
tomcat
BranchAffectedFixed in
9.0≥ 9.0.0.M1, < 9.0.0.M109.0.0.M10
8.5≥ 8.5.0, < 8.5.58.5.5
8.0≥ 8.0.0, < 8.0.378.0.37
7.0≥ 7.0.0, < 7.0.727.0.72

12 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Apache Software Foundation Apache Tomcat
    Affected
    • = 9.0.0.M1 to 9.0.0.M9no fix stated
    • = 8.5.0 to 8.5.4no fix stated
    • = 8.0.0.RC1 to 8.0.36no fix stated
    • = 7.0.0 to 7.0.70no fix stated
    • = 6.0.0 to 6.0.45no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2021-10-20

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • hibernate4-eap6Red Hat:jboss_enterprise_web_server:3.1::el7all versions · fixed in 0:4.2.23-1.Final_redhat_1.1.ep6.el7and 4 other packages
  • hibernate4-eap6Red Hat:jboss_enterprise_web_server:3.1::el6all versions · fixed in 0:4.2.23-1.Final_redhat_1.1.ep6.el6and 4 other packages
  • jbcs-httpd24-apache-commons-daemonRed Hat:jboss_enterprise_web_server:3.1::el7all versions · fixed in 0:1.0.15-1.redhat_2.1.jbcs.el7
  • jbcs-httpd24-apache-commons-daemonRed Hat:jboss_enterprise_web_server:3.1::el6all versions · fixed in 0:1.0.15-1.redhat_2.1.jbcs.el6
  • jbcs-httpd24-apache-commons-daemon-jsvcRed Hat:jboss_enterprise_web_server:3.1::el7all versions · fixed in 1:1.0.15-17.redhat_2.jbcs.el7and 1 other package
  • jbcs-httpd24-apache-commons-daemon-jsvcRed Hat:jboss_enterprise_web_server:3.1::el6all versions · fixed in 1:1.0.15-17.redhat_2.jbcs.el6and 1 other package
  • jbcs-httpd24-runtimeRed Hat:jboss_enterprise_web_server:3.1::el7all versions · fixed in 0:1-3.jbcs.el7
  • jbcs-httpd24-runtimeRed Hat:jboss_enterprise_web_server:3.1::el6all versions · fixed in 0:1-3.jbcs.el6

37 more package ranges on OSV.dev

Vendor advisories

  • CVE-2016-6797 Red Hat Product Security149 products fixed · 34 known affected

    tomcat: unrestricted access to global resources

    tomcat5.src as a component of Red Hat Enterprise Linux 5 · tomcat6 as a component of Red Hat Enterprise Linux 6 · tomcat6-admin-webapps as a component of Red Hat Enterprise Linux 6 · +31 more

  • RHSA-2017:2247 Red Hat Product Security50 products fixed

    Red Hat Security Advisory: tomcat security, bug fix, and enhancement update

  • RHSA-2017:0455 Red Hat Product Security51 products fixed

    Red Hat Security Advisory: Red Hat JBoss Web Server 3.1.0 security and enhancement update

  • RHSA-2017:0456 Red Hat Product Security47 products fixed

    Red Hat Security Advisory: Red Hat JBoss Web Server 3.1.0 security and enhancement update

  • RHSA-2017:0457 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat JBoss Web Server security and enhancement update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2017:2247 · 50 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Vendor fix Red Hat Product Security RHSA-2017:0455 · 51 productsBefore applying the update, back up your existing Red Hat JBoss Web Server installation (including all applications and configuration files). For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After i…
  3. Vendor fix Red Hat Product Security RHSA-2017:0457 · 1 productBefore applying the update, back up your existing Red Hat JBoss Web Server installation (including all applications and configuration files). The References section of this erratum contains a download link (you must log in to download the update).
  4. No fix available, says the vendor Red Hat Product Security CVE-2016-6797 · 2 productsFix deferred
  5. No fix planned, says the vendor Red Hat Product Security CVE-2016-6797 · 5 productsOut of support scope
  6. No fix planned, says the vendor Red Hat Product Security CVE-2016-6797 · 27 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2017-08-10
Last modified
2026-10-08
NVD status
Modified
GitHub advisory
GHSA-q6x7-f33r-3wxx

Frequently asked questions

What is CVE-2016-6797?

The ResourceLinkFactory implementation in Apache Tomcat 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36, 7.0.0 to 7.0.70 and 6.0.0 to 6.0.45 did not limit web application access to global JNDI resources to those resources explicitly linked to the web application. Therefore, it was possible for a web application to access any global JNDI resource whether an explicit ResourceLink had been configured or not.

Is CVE-2016-6797 actively exploited?

Active exploitation of CVE-2016-6797 has not been confirmed. Its EPSS score was 8.1% on 2026-11-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2016-6797?

CVE-2016-6797 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running Apache Tomcat? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record