CVE-2018-1305: Security constraints defined by annotations of Servlets 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 were only applied once a Servlet had been loaded
This Apache advisory covers CVE-2018-1305 in Apache Tomcat.
- CVE-2018-1305
Key facts
- CISA KEV
- Not listed (catalogue checked )
- Affected
- Apache Tomcat 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, 7.0.0 to 7.0.84
- Source published
- Source revised
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
Security constraints defined by annotations of Servlets 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 were only applied once a Servlet had been loaded.
Because security constraints defined in this way apply to the URL pattern and any URLs below that point, it was possible - depending on the order Servlets were loaded - for some security constraints not to be applied. This could have exposed resources to users who were not authorised to access them.
Text from the source record.
- Apache Tomcat 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, 7.0.0 to 7.0.84
Official advisory · medium-confidence parse· fetched ·verify at source
How to fix CVE-2018-1305
Vendor guidance
- Because security constraints defined in this way apply to the URL pattern and any URLs below that point, it was possible - depending on the order Servlets were loaded - for some security constraints not to be applied.
End-of-life dates for Apache Tomcat
More Apache Software Foundation advisories
CVE-2026-103119Oct 20, 2026Buffer under-read vulnerability in Apache Tomcat meantCVE-2026-101356Oct 20, 2026Incorrect object recycling and re-use vulnerability in Apache TomcatCVE-2026-101296Oct 20, 2026Apache Tomcat: JNDIRealm bind credential validation fails open for non-GSSAPI SASLCVE-2026-93446Oct 20, 2026Apache Tomcat: Possible TLS 1.3 connection failuresCVE-2026-88041Oct 20, 2026Apache Tomcat: HTTP/2 trailer header cross-contaminationCVE-2026-80353Oct 20, 2026Apache Tomcat: TOCTOU
Get an email when Apache Tomcat publishes the next one.
See Apache Tomcat's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
iPhone and Android apps · New on the App Store
Monitor future Apache Software Foundation CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.