CriticalGHSA-3vx3-xf6q-r5xpCVE-2017-5648

Exposure of Resource to Wrong Sphere in Apache Tomcat

Published 13 May 2022 · Updated 18 Apr 2024

Is your project on an affected org.apache.tomcat:tomcat-catalina?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=9.0.0.M1 <9.0.0.M18
Fixed in
9.0.0.M18
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-catalina -DdepVersion=9.0.0.M18 -DforceVersion=true
Affected
>=8.5.0 <8.5.13
Fixed in
8.5.13
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-catalina -DdepVersion=8.5.13 -DforceVersion=true
Affected
>=8.0.0 <8.0.42
Fixed in
8.0.42
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-catalina -DdepVersion=8.0.42 -DforceVersion=true
Affected
>=7.0.0 <7.0.76
Fixed in
7.0.76
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-catalina -DdepVersion=7.0.76 -DforceVersion=true
Affected
>=9.0.0.M1 <9.0.0.M18
Fixed in
9.0.0.M18
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat.embed:tomcat-embed-core -DdepVersion=9.0.0.M18 -DforceVersion=true
Affected
>=8.5.0 <8.5.13
Fixed in
8.5.13
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat.embed:tomcat-embed-core -DdepVersion=8.5.13 -DforceVersion=true
Affected
>=8.0.0 <8.0.42
Fixed in
8.0.42
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat.embed:tomcat-embed-core -DdepVersion=8.0.42 -DforceVersion=true
Affected
>=7.0.0 <7.0.76
Fixed in
7.0.76
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat.embed:tomcat-embed-core -DdepVersion=7.0.76 -DforceVersion=true

Details

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.

Is GHSA-3vx3-xf6q-r5xp in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.tomcat:tomcat-catalina, and gives you the command that fixes it.

More advisories for org.apache.tomcat:tomcat-catalina

  • CriticalCVE-2026-65905Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability · 26 Aug 2026
  • CriticalCVE-2026-65182Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability · 26 Aug 2026
  • CriticalCVE-2026-68525Apache Tomcat's FORM authentication process has an Incorrect Authorization vulnerability · 26 Aug 2026
  • HighCVE-2026-55957Apache Tomcat has a Missing Critical Step in Authentication vulnerability · 29 Jun 2026
  • HighCVE-2026-53404Apache Tomcat's rewrite valve has an Always-Incorrect Control Flow Implementation vulnerability · 29 Jun 2026
  • MediumCVE-2026-55956Apache Tomcat has an Improper Authorization vulnerability · 29 Jun 2026
All 44 advisories for org.apache.tomcat:tomcat-catalina

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.