Exposure of Resource to Wrong Sphere Affecting tomcat7-docs-webapp package, versions <0:7.0.79-1.28.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.87% (83rd 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 IDSNYK-AMZN201803-TOMCAT7DOCSWEBAPP-1708390
  • published27 Sept 2021
  • disclosed17 Apr 2017

Introduced: 17 Apr 2017

CVE-2017-5648  (opens in a new tab)
CWE-668  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 tomcat7-docs-webapp to version 0:7.0.79-1.28.amzn1 or higher.
This issue was patched in ALAS-2017-873.

NVD Description

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

While investigating bug 60718, it was noticed that some calls to application listeners in Apache Tomcat 9.0.0.M1 to 9.0.0.M17, 8.5.0 to 8.5.11, 8.0.0.RC1 to 8.0.41, and 7.0.0 to 7.0.75 did not use the appropriate facade object. When running an untrusted application under a SecurityManager, it was therefore possible for that untrusted application to retain a reference to the request or response object and thereby access and/or modify information associated with another web application.

References