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.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19379
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A13969
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12517
https://exchange.xforce.ibmcloud.com/vulnerabilities/65159
http://www.securitytracker.com/id?1025025
http://www.securityfocus.com/bid/46177
http://www.securityfocus.com/archive/1/516211/100/0/threaded
http://www.redhat.com/support/errata/RHSA-2011-1845.html
http://www.redhat.com/support/errata/RHSA-2011-0897.html
http://www.redhat.com/support/errata/RHSA-2011-0896.html
http://www.redhat.com/support/errata/RHSA-2011-0791.html
http://www.mandriva.com/security/advisories?name=MDVSA-2011:030
http://www.debian.org/security/2011/dsa-2160
http://tomcat.apache.org/security-7.html
http://tomcat.apache.org/security-6.html
http://tomcat.apache.org/security-5.html
http://support.novell.com/docs/Readmes/InfoDocument/patchbuilder/readme_5098550.html
http://support.apple.com/kb/HT5002
http://securityreason.com/securityalert/8072
http://secunia.com/advisories/57126
http://secunia.com/advisories/45022
http://secunia.com/advisories/43192
http://marc.info/?l=bugtraq&m=139344343412337&w=2
http://marc.info/?l=bugtraq&m=136485229118404&w=2
http://marc.info/?l=bugtraq&m=132215163318824&w=2
http://marc.info/?l=bugtraq&m=130168502603566&w=2
http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html
http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html