{"id":"GHSA-fj6c-prgj-gr3r","summary":"Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat","details":"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.","aliases":["CVE-2010-3718"],"modified":"2024-02-21T20:24:53Z","published":"2022-05-14T01:17:02Z","database_specific":{"github_reviewed_at":"2022-07-08T18:47:29Z","nvd_published_at":"2011-02-10T18:00:00Z","cwe_ids":["CWE-22"],"severity":"LOW","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2010-3718"},{"type":"WEB","url":"https://github.com/apache/tomcat/commit/a697f7b52c4e3aea0c6763b33d413b54a518e883"},{"type":"WEB","url":"https://github.com/apache/tomcat55/commit/53b9e4bf21aef92321404644bfbb22ae625c033b"},{"type":"WEB","url":"https://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.30"},{"type":"WEB","url":"https://tomcat.apache.org/security-5.html#Fixed_in_Apache_Tomcat_5.0.30"},{"type":"WEB","url":"https://marc.info/?l=bugtraq&m=139344343412337&w=2"},{"type":"WEB","url":"https://marc.info/?l=bugtraq&m=136485229118404&w=2"},{"type":"WEB","url":"https://marc.info/?l=bugtraq&m=132215163318824&w=2"},{"type":"WEB","url":"https://marc.info/?l=bugtraq&m=130168502603566&w=2"},{"type":"WEB","url":"https://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html"},{"type":"WEB","url":"https://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5@%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf@%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e@%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E"},{"type":"PACKAGE","url":"https://github.com/apache/tomcat"}],"affected":[{"package":{"name":"org.apache.tomcat:tomcat","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/tomcat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.0.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-fj6c-prgj-gr3r/GHSA-fj6c-prgj-gr3r.json"}},{"package":{"name":"org.apache.tomcat:tomcat","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/tomcat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.0.30"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-fj6c-prgj-gr3r/GHSA-fj6c-prgj-gr3r.json"}},{"package":{"name":"org.apache.tomcat:tomcat","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/tomcat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.5.30"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-fj6c-prgj-gr3r/GHSA-fj6c-prgj-gr3r.json"}}],"schema_version":"1.9.0"}