Improper Access Control Affecting tomcat7-lib package, versions <0:7.0.72-1.21.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.13% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-TOMCAT7LIB-1703622
  • published27 Sept 2021
  • disclosed10 Aug 2017

Introduced: 10 Aug 2017

CVE-2016-6797  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 tomcat7-lib to version 0:7.0.72-1.21.amzn1 or higher.
This issue was patched in ALAS-2016-764.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat7-lib package and not the tomcat7-lib package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1