MediumGHSA-6rxj-58jh-436rCVE-2018-1304

Apache Tomcat unauthorized access vulnerability

Published 17 Oct 2018 · Updated 29 Nov 2024

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

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 <9.0.5
Fixed in
9.0.5
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.5 -DforceVersion=true
Affected
>=8.5.0 <8.5.28
Fixed in
8.5.28
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.28 -DforceVersion=true
Affected
>=8.0.0 <8.0.51
Fixed in
8.0.51
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.51 -DforceVersion=true
Affected
>=7.0.0 <7.0.86
Fixed in
7.0.86
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.86 -DforceVersion=true

Details

The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorised users to gain access to web application resources that should have been protected. Only security constraints with a URL pattern of the empty string were affected.

Is GHSA-6rxj-58jh-436r 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.embed:tomcat-embed-core, and gives you the command that fixes it.

More advisories for org.apache.tomcat.embed:tomcat-embed-core

  • CriticalCVE-2026-65905Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability · 26 Aug 2026
  • CriticalCVE-2026-65637Apache Tomcat - HTTP/2 no-authority bypass of strict SNI validation · 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
  • CriticalCVE-2026-55276Apache Tomcat has an Always-Incorrect Control Flow Implementation vulnerability · 29 Jun 2026
  • HighCVE-2026-55957Apache Tomcat has a Missing Critical Step in Authentication vulnerability · 29 Jun 2026
All 82 advisories for org.apache.tomcat.embed:tomcat-embed-core

References

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