ADVISORIES

GitHub Advisory Database

GHSA-gcx9-497g-6cp6

Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability

Details

Improper Access Control, Incorrect Authorization vulnerability in Apache Tomcat leads to security constraint bypass if a constraint for a longer path is specified before a more restrictive constraint for a shorter sub-path.

This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.24, from 10.1.0-M1 through 10.1.57, from 9.0.0.M1 through 9.0.120, from 8.5.0 through 8.5.100, from 7.0.0 through 7.0.109.

Users are recommended to upgrade to version 11.0.25, 10.1.58, 9.0.121, which fixes the issue.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.tomcat:tomcat
From 11.0.0-M1 before 11.0.25 (fixed in 11.0.25)
Mavenorg.apache.tomcat:tomcat
From 10.1.0-M1 before 10.1.58 (fixed in 10.1.58)
Mavenorg.apache.tomcat:tomcat
From 9.0.0-M1 before 9.0.121 (fixed in 9.0.121)
Mavenorg.apache.tomcat:tomcat
From 8.5.0 up to and including 8.5.100
Mavenorg.apache.tomcat:tomcat
From 7.0.0 up to and including 7.0.109
Mavenorg.apache.tomcat:tomcat-catalina
From 11.0.0-M1 before 11.0.25 (fixed in 11.0.25)
Mavenorg.apache.tomcat:tomcat-catalina
From 10.1.0-M1 before 10.1.58 (fixed in 10.1.58)
Mavenorg.apache.tomcat:tomcat-catalina
From 9.0.0-M1 before 9.0.121 (fixed in 9.0.121)
Mavenorg.apache.tomcat:tomcat-catalina
From 8.5.0 up to and including 8.5.100
Mavenorg.apache.tomcat:tomcat-catalina
From 7.0.0 up to and including 7.0.109
Mavenorg.apache.tomcat.embed:tomcat-embed-core
From 11.0.0-M1 before 11.0.25 (fixed in 11.0.25)
Mavenorg.apache.tomcat.embed:tomcat-embed-core
From 10.1.0-M1 before 10.1.58 (fixed in 10.1.58)
Mavenorg.apache.tomcat.embed:tomcat-embed-core
From 9.0.0-M1 before 9.0.121 (fixed in 9.0.121)
Mavenorg.apache.tomcat.embed:tomcat-embed-core
From 8.5.0 up to and including 8.5.100
Mavenorg.apache.tomcat.embed:tomcat-embed-core
From 7.0.0 up to and including 7.0.109

References