Apache Software Foundation Apache Tomcat
Apache Tomcat: Bypass longest prefix security constraint
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 versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 11.0.0-M1, <= 11.0.24
- >= 10.1.0-M1, <= 10.1.57
- >= 9.0.0.M1, <= 9.0.120
- >= 8.5.0, <= 8.5.100
- >= 7.0.0, <= 7.0.109
- >= 11.0.0-M1, < 11.0.25
Fixed in 11.0.25
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 10.1.0-M1, < 10.1.58
Fixed in 10.1.58
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 9.0.0-M1, < 9.0.121
Fixed in 9.0.121
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 8.5.0, <= 8.5.100
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 7.0.0, <= 7.0.109
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 11.0.0-M1, < 11.0.25
Fixed in 11.0.25
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 10.1.0-M1, < 10.1.58
Fixed in 10.1.58
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 9.0.0-M1, < 9.0.121
Fixed in 9.0.121
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 8.5.0, <= 8.5.100
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 7.0.0, <= 7.0.109
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 11.0.0-M1, < 11.0.25
Fixed in 11.0.25
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 10.1.0-M1, < 10.1.58
Fixed in 10.1.58
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 9.0.0-M1, < 9.0.121
Fixed in 9.0.121
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 8.5.0, <= 8.5.100
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
- >= 7.0.0, <= 7.0.109
from GitHub Security Advisory GHSA-gcx9-497g-6cp6
Mitigation
Upgrade org.apache.tomcat:tomcat to 11.0.25 or later.
Upgrade org.apache.tomcat:tomcat to 10.1.58 or later.
Upgrade org.apache.tomcat:tomcat to 9.0.121 or later.
Upgrade org.apache.tomcat:tomcat-catalina to 11.0.25 or later.
Upgrade org.apache.tomcat:tomcat-catalina to 10.1.58 or later.
Upgrade org.apache.tomcat:tomcat-catalina to 9.0.121 or later.
Upgrade org.apache.tomcat.embed:tomcat-embed-core to 11.0.25 or later.
Upgrade org.apache.tomcat.embed:tomcat-embed-core to 10.1.58 or later.
Upgrade org.apache.tomcat.embed:tomcat-embed-core to 9.0.121 or later.
References
- Vendor advisory lists.apache.org/thread/joosxvzc9b49ttj8lj0jw9mqt0ml…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.