Name | CVE-2018-1304 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1301-1, DLA-1400-1, DLA-1450-1, DSA-4281-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
tomcat9 (PTS) | bullseye (security), bullseye | 9.0.43-2~deb11u10 | fixed |
bookworm | 9.0.70-2 | fixed | |
sid, trixie | 9.0.95-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
tomcat7 | source | wheezy | 7.0.28-4+deb7u18 | DLA-1301-1 | ||
tomcat7 | source | jessie | 7.0.56-3+really7.0.88-1 | DLA-1400-1 | ||
tomcat7 | source | (unstable) | 7.0.72-3 | |||
tomcat8 | source | jessie | 8.0.14-1+deb8u12 | DLA-1450-1 | ||
tomcat8 | source | stretch | 8.5.14-1+deb9u3 | DSA-4281-1 | ||
tomcat8 | source | (unstable) | 8.5.28-1 | |||
tomcat8.0 | source | (unstable) | (unfixed) | unimportant | ||
tomcat9 | source | (unstable) | (not affected) |
- tomcat9 <not-affected> (Fixed before initial upload to Debian)
tomcat8.0 builds only tomcat8.0-user and libtomcat8.0-java
Since 7.0.72-3, src:tomcat7 only builds the Servlet API
https://svn.apache.org/r1823307 (8.5.x)
https://svn.apache.org/r1823308 (8.0.x)
https://svn.apache.org/r1823309 (7.0.x)
https://bz.apache.org/bugzilla/show_bug.cgi?id=62067