HighGHSA-xjgh-84hx-56c5CVE-2017-12617

Unrestricted Upload of File with Dangerous Type Apache Tomcat

Published 14 May 2022 · Updated 22 Oct 2025

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.1
Fixed in
9.0.1
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.1 -DforceVersion=true
Affected
>=8.5.0 <8.5.23
Fixed in
8.5.23
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.23 -DforceVersion=true
Affected
>=8.0.0-RC1 <8.0.47
Fixed in
8.0.47
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.47 -DforceVersion=true
Affected
>=7.0.0 <7.0.82
Fixed in
7.0.82
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.82 -DforceVersion=true
Affected
>=9.0.0.M1 <9.0.1
Fixed in
9.0.1
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.1 -DforceVersion=true
Affected
>=8.5.0 <8.5.23
Fixed in
8.5.23
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.23 -DforceVersion=true
Affected
>=8.0.0-RC1 <8.0.47
Fixed in
8.0.47
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.47 -DforceVersion=true
Affected
>=7.0.0 <7.0.82
Fixed in
7.0.82
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.82 -DforceVersion=true

Details

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default servlet to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.

Is GHSA-xjgh-84hx-56c5 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.