LOW
GHSA-fj6c-prgj-gr3r
Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat
Quick fix
GHSA-fj6c-prgj-gr3r — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.
# pom.xml: bump <version>7.0.4</version> for org.apache.tomcat:tomcatDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.tomcat:tomcat
Introduced in:
7.0.0Fixed in: 7.0.4Fix
# pom.xml: bump <version>7.0.4</version> for org.apache.tomcat:tomcatMaven/org.apache.tomcat:tomcat
Introduced in:
6.0.0Fixed in: 6.0.30Fix
# pom.xml: bump <version>6.0.30</version> for org.apache.tomcat:tomcatMaven/org.apache.tomcat:tomcat
Introduced in:
5.5.0Fixed in: 5.5.30Fix
# pom.xml: bump <version>5.5.30</version> for org.apache.tomcat:tomcatReferences
- https://nvd.nist.gov/vuln/detail/CVE-2010-3718[ADVISORY]
- https://github.com/apache/tomcat/commit/a697f7b52c4e3aea0c6763b33d413b54a518e883[WEB]
- https://github.com/apache/tomcat55/commit/53b9e4bf21aef92321404644bfbb22ae625c033b[WEB]
- https://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.30[WEB]
- https://tomcat.apache.org/security-5.html#Fixed_in_Apache_Tomcat_5.0.30[WEB]
- https://marc.info/?l=bugtraq&m=139344343412337&w=2[WEB]
- https://marc.info/?l=bugtraq&m=136485229118404&w=2[WEB]
- https://marc.info/?l=bugtraq&m=132215163318824&w=2[WEB]
- https://marc.info/?l=bugtraq&m=130168502603566&w=2[WEB]
- https://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html[WEB]
- https://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html[WEB]
- https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5@%3Cdev.tomcat.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf@%3Cdev.tomcat.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e@%3Cdev.tomcat.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E[WEB]
- https://github.com/apache/tomcat[PACKAGE]