Skip to main content

CVE-2017-5648 — Exposure of Resource to Wrong Sphere in...

CRITICAL

Exposure of Resource to Wrong Sphere in Apache Tomcat

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

What Should I Do?

Low-to-Moderate Risk

Exploitation probability is 13.23% in 30 days. Address in your next planned sprint.

Does your project use an affected org.apache.tomcat:tomcat-catalina version?

Paste your pom.xml to check it for CVE-2017-5648 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

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.

Advisory Timeline

  • First published May 13, 2022 (1658 days ago).
  • Last revised April 18, 2024 — 707 days after initial publication.

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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (8)

Affects 1 ecosystem: Maven (2).

PackageFixed In
org.apache.tomcat:tomcat-catalina Maven · Affected: 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 · Affected: 8.5.0, 8.5.11, 8.5.12, 8.5.2 (+6 more)8.5.13
org.apache.tomcat:tomcat-catalina Maven · Affected: 8.0.1, 8.0.11, 8.0.12, 8.0.14 (+25 more)8.0.42
org.apache.tomcat:tomcat-catalina Maven · Affected: 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 · Affected: 7.0.0, 7.0.11, 7.0.12, 7.0.14 (+47 more)7.0.76
org.apache.tomcat:tomcat-catalina Maven · Affected: 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 · Affected: 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 · Affected: 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. It has a 13.2% probability of exploitation within 30 days (EPSS score). 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

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
13.23%
EPSS percentile: 97.1

This places it in the top 5% of EPSS-scored vulnerabilities — 97.1% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

GHSA-3vx3-xf6q-r5xp

Related CVEs

  • CVE-2026-65182
    CRITICAL

    Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability

  • CVE-2026-68525
    CRITICAL

    Apache Tomcat's FORM authentication process has an Incorrect Authorization vulnerability

  • CVE-2026-43512
    CRITICAL

    Apache Tomcat - Digest authenticator will authenticate any unknown user

  • CVE-2026-42498
    HIGH

    Apache Tomcat - WebSocket authentication header exposure

  • CVE-2026-41284
    HIGH

    Apache Tomcat: Unbounded read in WebDAV LOCK and PROPFIND handling

  • CVE-2026-53404
    HIGH

    Apache Tomcat's rewrite valve has an Always-Incorrect Control Flow Implementation vulnerability

  • CVE-2026-34483
    HIGH

    Apache Tomcat has an Improper Encoding or Escaping of Output vulnerability in the JsonAccessLogValve

  • CVE-2025-55754
    LOW

    Apache Tomcat Vulnerable to Improper Neutralization of Escape, Meta, or Control Sequences

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml