Apache Tomcat 7.0.0 through 7.0.3, 6.0.x, and 5.5.x, when running within a SecurityManager, does not make the ServletContext attribute read-only, which allows local web applications to read or write files outside of the intended working directory, as demonstrated using a directory traversal attack.
| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| org.apache.tomcat:tomcat(Maven) | 7.0.0 | 7.0.4 | N/A |
| org.apache.tomcat:tomcat(Maven) | 6.0.0 | 6.0.30 | N/A |
| org.apache.tomcat:tomcat(Maven) | 5.5.0 | 5.5.30 | N/A |
CVSS Metrics