Loading...
Skip to main content

CVE-2017-5648

CRITICAL

Exposure of Resource to Wrong Sphere in Apache Tomcat

Published May 13, 2022Updated April 18, 2024Source: osv

Summary

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.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.tomcat:tomcat-catalina to 7.0.76 or later
<!-- Update pom.xml dependency version to 7.0.76 for org.apache.tomcat:tomcat-catalina -->
Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 8.5.13 or later
<!-- Update pom.xml dependency version to 8.5.13 for org.apache.tomcat.embed:tomcat-embed-core -->
Maven
Update org.apache.tomcat:tomcat-catalina to 8.0.42 or later
<!-- Update pom.xml dependency version to 8.0.42 for org.apache.tomcat:tomcat-catalina -->
Maven
Update org.apache.tomcat:tomcat-catalina to 8.5.13 or later
<!-- Update pom.xml dependency version to 8.5.13 for org.apache.tomcat:tomcat-catalina -->
Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 7.0.76 or later
<!-- Update pom.xml dependency version to 7.0.76 for org.apache.tomcat.embed:tomcat-embed-core -->
Maven
Update org.apache.tomcat:tomcat-catalina to 9.0.0.M18 or later
<!-- Update pom.xml dependency version to 9.0.0.M18 for org.apache.tomcat:tomcat-catalina -->
Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 8.0.42 or later
<!-- Update pom.xml dependency version to 8.0.42 for org.apache.tomcat.embed:tomcat-embed-core -->
Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 9.0.0.M18 or later
<!-- Update pom.xml dependency version to 9.0.0.M18 for org.apache.tomcat.embed:tomcat-embed-core -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (8)

PackageEcosystemAffectedFixed In
org.apache.tomcat:tomcat-catalina
maven
7.0.0, 7.0.11, 7.0.12, 7.0.14 (+47 more)7.0.76
org.apache.tomcat.embed:tomcat-embed-core
maven
8.5.0, 8.5.11, 8.5.12, 8.5.2 (+6 more)8.5.13
org.apache.tomcat:tomcat-catalina
maven
8.0.1, 8.0.11, 8.0.12, 8.0.14 (+25 more)8.0.42
org.apache.tomcat:tomcat-catalina
maven
8.5.0, 8.5.11, 8.5.12, 8.5.2 (+6 more)8.5.13
org.apache.tomcat.embed:tomcat-embed-core
maven
7.0.0, 7.0.11, 7.0.12, 7.0.14 (+47 more)7.0.76
org.apache.tomcat:tomcat-catalina
maven
9.0.0.M1, 9.0.0.M10, 9.0.0.M11, 9.0.0.M13 (+7 more)9.0.0.M18
org.apache.tomcat.embed:tomcat-embed-core
maven
8.0.1, 8.0.11, 8.0.12, 8.0.14 (+25 more)8.0.42
org.apache.tomcat.embed:tomcat-embed-core
maven
9.0.0.M1, 9.0.0.M10, 9.0.0.M11, 9.0.0.M13 (+7 more)9.0.0.M18

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References

Frequently Asked Questions

What is CVE-2017-5648?
Exposure of Resource to Wrong Sphere in Apache Tomcat This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2017-5648?
CVE-2017-5648 affects org.apache.tomcat:tomcat-catalina and org.apache.tomcat.embed:tomcat-embed-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-5648 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-3vx3-xf6q-r5xp

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies