HighGHSA-3mjp-p938-4329CVE-2016-6796

Apache Tomcat vulnerable to SecurityManager bypass

Published 13 May 2022 · Updated 28 Nov 2024

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

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.M10
Fixed in
9.0.0.M10
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat -DdepVersion=9.0.0.M10 -DforceVersion=true
Affected
>=8.5.0 <8.5.5
Fixed in
8.5.5
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat -DdepVersion=8.5.5 -DforceVersion=true
Affected
>=8.0.0.RC1 <8.0.37
Fixed in
8.0.37
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat -DdepVersion=8.0.37 -DforceVersion=true
Affected
>=7.0.0 <7.0.71
Fixed in
7.0.71
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat -DdepVersion=7.0.71 -DforceVersion=true
Affected
>=6.0.0 <6.0.46
Fixed in
6.0.46
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat -DdepVersion=6.0.46 -DforceVersion=true

Details

A malicious web application running on Apache Tomcat 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36, 7.0.0 to 7.0.70 and 6.0.0 to 6.0.45 was able to bypass a configured SecurityManager via manipulation of the configuration parameters for the JSP Servlet.

Is GHSA-3mjp-p938-4329 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, and gives you the command that fixes it.

More advisories for org.apache.tomcat:tomcat

  • 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
  • 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
  • HighCVE-2026-53404Apache Tomcat's rewrite valve has an Always-Incorrect Control Flow Implementation vulnerability · 29 Jun 2026
All 168 advisories for org.apache.tomcat:tomcat

References

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