Skip to content
Fencer Intel
low 1.2

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 Fencer

Vendor 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_7
    fixed: 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.el6
    fixed: 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 more
    fixed: vendor fix RHSA-2011:0897
  • Red Hat JBoss Web Server 1.0
    fixed: 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 more
    fixed: 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 more
    fixed: 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

Sources

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.