CVE-2010-3718 json
Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat
published 15y ago modified 4mo ago also GHSA-fj6c-prgj-gr3r , EUVD-2022-3792
- cvss
- 1.2
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.tomcat:tomcat 5.5.30, 6.0.30, 7.0.4
- tomcat5 RHEL 5 5.5.23-0jpp.22.el5_7
- tomcat5-jasper RHEL 5 5.5.23-0jpp.22.el5_7
- tomcat5-webapps RHEL 5 5.5.23-0jpp.22.el5_7
- tomcat5-common-lib RHEL 5 5.5.23-0jpp.22.el5_7
- tomcat5-server-lib RHEL 5 5.5.23-0jpp.22.el5_7
- tomcat5-jsp-2.0-api RHEL 5 5.5.23-0jpp.22.el5_7
- tomcat5-admin-webapps RHEL 5 5.5.23-0jpp.22.el5_7
- tomcat5-jasper-javadoc RHEL 5 5.5.23-0jpp.22.el5_7
red hat advisories RHSA-2011:1845RHSA-2011:0897RHSA-2011:0791
Is CVE-2010-3718 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2010-3718 updated cvss 4.0
tomcat: file permission bypass flaw
-
Red Hat Enterprise Linux (v. 5 server) tomcat5 5.5.23-0jpp.22.el5_7, tomcat5-jasper 5.5.23-0jpp.22.el5_7, tomcat5-webapps 5.5.23-0jpp.22.el5_7, tomcat5-common-lib 5.5.23-0jpp.22.el5_7, tomcat5-server-lib 5.5.23-0jpp.22.el5_7, tomcat5-jsp-2.0-api 5.5.23-0jpp.22.el5_7, +5 more Red Hat Enterprise Linux Desktop (v. 5 client) tomcat5 5.5.23-0jpp.22.el5_7, tomcat5-jsp-2.0-api 5.5.23-0jpp.22.el5_7, tomcat5-servlet-2.4-api 5.5.23-0jpp.22.el5_7fixed: vendor fix RHSA-2011:1845
-
Red Hat Enterprise Linux Desktop Optional (v. 6) tomcat6 6.0.24-33.el6, tomcat6-lib 6.0.24-33.el6, tomcat6-javadoc 6.0.24-33.el6, tomcat6-webapps 6.0.24-33.el6, tomcat6-el-2.1-api 6.0.24-33.el6, tomcat6-docs-webapp 6.0.24-33.el6, +3 more Red Hat Enterprise Linux HPC Node Optional (v. 6) tomcat6 6.0.24-33.el6, tomcat6-lib 6.0.24-33.el6, tomcat6-javadoc 6.0.24-33.el6, tomcat6-webapps 6.0.24-33.el6, tomcat6-el-2.1-api 6.0.24-33.el6, tomcat6-docs-webapp 6.0.24-33.el6, +3 more Red Hat Enterprise Linux Server (v. 6) tomcat6 6.0.24-33.el6, tomcat6-lib 6.0.24-33.el6, tomcat6-el-2.1-api 6.0.24-33.el6, tomcat6-jsp-2.1-api 6.0.24-33.el6, tomcat6-servlet-2.5-api 6.0.24-33.el6 Red Hat Enterprise Linux Server Optional (v. 6) tomcat6 6.0.24-33.el6, tomcat6-javadoc 6.0.24-33.el6, tomcat6-webapps 6.0.24-33.el6, tomcat6-docs-webapp 6.0.24-33.el6, tomcat6-admin-webapps 6.0.24-33.el6 Red Hat Enterprise Linux Workstation (v. 6) tomcat6 6.0.24-33.el6, tomcat6-lib 6.0.24-33.el6, tomcat6-el-2.1-api 6.0.24-33.el6, tomcat6-jsp-2.1-api 6.0.24-33.el6, tomcat6-servlet-2.5-api 6.0.24-33.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) tomcat6 6.0.24-33.el6, tomcat6-javadoc 6.0.24-33.el6, tomcat6-webapps 6.0.24-33.el6, tomcat6-docs-webapp 6.0.24-33.el6, tomcat6-admin-webapps 6.0.24-33.el6fixed: vendor fix RHSA-2011:0791
-
Red Hat JBoss Enterprise Web Server 1 for RHEL 5 Server antlr 2.7.7-7.ep5.el5, dom4j 1.6.1-11.ep5.el5, ant 1.7.1-13.jdk6.ep5.el5, httpd 2.2.17-11.1.ep5.el5, mod_jk 1.2.31-1.1.ep5.el5, struts12 1.2.9-3.1.ep5.el5, +103 more Red Hat JBoss Enterprise Web Server 1 for RHEL 6 Server ant 1.7.1-14.ep5.el6, antlr 2.7.7-7.ep5.el6, cglib 2.2-5.4.ep5.el6, ecj3 3.3.1.1-4.ep5.el6, ant-jmf 1.7.1-14.ep5.el6, dom4j 1.6.1-11.1.ep5.el6, +110 morefixed: vendor fix RHSA-2011:0897
-
Red Hat JBoss Web Server 1.0fixed: vendor fix RHSA-2011:0896
-
Red Hat JBoss Web Server 1.0 for RHEL 4 AS bcel 5.2-8.1.ep5.el4, antlr 2.7.7-7.ep5.el4, dom4j 1.6.1-11.ep5.el4, mod_jk 1.2.31-1.ep5.el4, mx4j 3.0.1-9.3.4.ep5.el4, struts12 1.2.9-3.ep5.el4, +97 more Red Hat JBoss Web Server 1.0 for RHEL 4 ES bcel 5.2-8.1.ep5.el4, antlr 2.7.7-7.ep5.el4, dom4j 1.6.1-11.ep5.el4, mod_jk 1.2.31-1.ep5.el4, mx4j 3.0.1-9.3.4.ep5.el4, struts12 1.2.9-3.ep5.el4, +97 morefixed: vendor fix RHSA-2011:0897
-
Red Hat RHEL Desktop Workstation (v. 5 client) tomcat5 5.5.23-0jpp.22.el5_7, tomcat5-jasper 5.5.23-0jpp.22.el5_7, tomcat5-webapps 5.5.23-0jpp.22.el5_7, tomcat5-common-lib 5.5.23-0jpp.22.el5_7, tomcat5-server-lib 5.5.23-0jpp.22.el5_7, tomcat5-admin-webapps 5.5.23-0jpp.22.el5_7, +3 morefixed: vendor fix RHSA-2011:1845
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.30% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 1.2 | AV:L/AC:H/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat | >=7.0.0, <7.0.4 >=6.0.0, <6.0.30 >=5.5.0, <5.5.30 |
7.0.4 6.0.30 5.5.30 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/apache/tomcat/commit/a697f7b52c4e3aea0c6763b33d413b54a518e883
web
-
github.com
/apache/tomcat55/commit/53b9e4bf21aef92321404644bfbb22ae625c033b
web
-
marc.info
/?l=bugtraq&m=136485229118404&w=2
vendor-advisory
-
redhat.com
/support/errata/RHSA-2011-1845.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2011-04/msg00000.html
vendor-advisory
-
marc.info
/?l=bugtraq&m=132215163318824&w=2
vendor-advisory
-
lists.apple.com
/archives/Security-announce/2011//Oct/msg00003.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2011:030
vendor-advisory
-
redhat.com
/support/errata/RHSA-2011-0897.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2011-0791.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2011-0896.html
vendor-advisory
-
debian.org
/security/2011/dsa-2160
vendor-advisory
-
marc.info
/?l=bugtraq&m=130168502603566&w=2
vendor-advisory
-
marc.info
/?l=bugtraq&m=139344343412337&w=2
vendor-advisory
-
tomcat.apache.org
/security-6.html
vendor-advisory
-
secunia.com
/advisories/43192
third-party-advisory, vendor-advisory
-
tomcat.apache.org
/security-5.html
vendor-advisory
-
tomcat.apache.org
/security-7.html
vendor-advisory
-
securityfocus.com
/bid/46177
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A13969
vdb-entry, signature
-
securityfocus.com
/archive/1/516211/100/0/threaded
mailing-list
-
securityreason.com
/securityalert/8072
third-party-advisory
-
secunia.com
/advisories/45022
third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/65159
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19379
vdb-entry, signature
-
secunia.com
/advisories/57126
third-party-advisory
-
securitytracker.com
/id?1025025
vdb-entry
- support.apple.com /kb/HT5002
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12517
vdb-entry, signature
- support.novell.com /docs/Readmes/InfoDocument/patchbuilder/readme_5098550.html
-
lists.apache.org
/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2010-3718
advisory
-
tomcat.apache.org
/security-6.html#Fixed_in_Apache_Tomcat_6.0.30
web
-
tomcat.apache.org
/security-5.html#Fixed_in_Apache_Tomcat_5.0.30
web
-
marc.info
/?l=bugtraq&m=139344343412337&w=2
web
-
marc.info
/?l=bugtraq&m=136485229118404&w=2
web
-
marc.info
/?l=bugtraq&m=132215163318824&w=2
web
-
marc.info
/?l=bugtraq&m=130168502603566&w=2
web
-
lists.opensuse.org
/opensuse-security-announce/2011-04/msg00000.html
web
-
lists.apple.com
/archives/Security-announce/2011//Oct/msg00003.html
web
-
lists.apache.org
/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e@%3Cdev.tomcat.apache.org%3E
web
-
github.com
/apache/tomcat
package
Sources
- CVE List CVE-2010-3718
- GitHub Advisory GHSA-fj6c-prgj-gr3r
- NVD CVE-2010-3718
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.