CWE-22: Improper Limitation of a Pathname to a Restricted Directory

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

6,987 published CVE records name this weakness. Abstraction: Base. Status: Stable. CWE-22 at MITRE

CVETitleCVSSEPSSPublished
CVE-2017-0901 HackerOne RubyGems: Improper Limitation of a Pathname to a Restricted Directory – 29.4% 31 Aug 2017
CVE-2017-9640 n/a Automated Logic Corporation WebCTRL, i-VU, SiteScan: Improper Limitation of a Pathname to a Restricted Directory – 8.45% 25 Aug 2017
CVE-2017-12694 n/a SpiderControl SCADA Web Server: Improper Limitation of a Pathname to a Restricted Directory – 3.84% 25 Aug 2017
CVE-2017-9511 Atlassian Fisheye and Crucible: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 3.24% 24 Aug 2017
CVE-2017-12074 Synology DNS Server: Improper Limitation of a Pathname to a Restricted Directory – 1.99% 24 Aug 2017
CVE-2017-7424 Micro Focus Enterprise Developer, Micro Focus Enterprise Server: Improper Limitation of a Pathname to a Restricted Directory – 1.79% 21 Aug 2017
CVE-2017-11152 Synology Photo Station: Improper Limitation of a Pathname to a Restricted Directory – 14.5% 8 Aug 2017
CVE-2017-12637 KEV SAP NetWeaver Directory Traversal Vulnerability 7.5 high 95.1% 7 Aug 2017
CVE-2017-6758 n/a Cisco Unified Communications Manager: Improper Limitation of a Pathname to a Restricted Directory – 3.75% 7 Aug 2017
CVE-2017-6636 n/a Cisco Prime Collaboration Provisioning: Improper Limitation of a Pathname to a Restricted Directory – 5.88% 22 May 2017
CVE-2017-6652 n/a Cisco TelePresence IX5000 Series: Improper Limitation of a Pathname to a Restricted Directory – 3.60% 18 May 2017
CVE-2016-10331 Synology Photo Station: Improper Limitation of a Pathname to a Restricted Directory – 2.17% 12 May 2017
CVE-2016-10330 Synology Photo Station: Improper Limitation of a Pathname to a Restricted Directory – 0.69% 12 May 2017
CVE-2017-6629 n/a Cisco Unity Connection: Improper Limitation of a Pathname to a Restricted Directory – 2.51% 3 May 2017
CVE-2017-3851 n/a Cisco Application-Hosting Framework: Improper Limitation of a Pathname to a Restricted Directory – 5.21% 22 Mar 2017
CVE-2016-6321 Directory traversal vulnerability in the safer_name_suffix function in GNU tar 1.14 through 1.29 might allow remote attackers to bypass… 7.5 high 15.7% 9 Dec 2016
CVE-2016-3976 KEV SAP NetWeaver Directory Traversal Vulnerability 7.5 high 87.7% 7 Apr 2016
CVE-2015-5345 The Mapper component in Apache Tomcat 6.x before 6.0.45, 7.x before 7.0.68, 8.x before 8.0.30, and 9.x before 9.0.0.M2 processes… 5.3 medium 18.3% 25 Feb 2016
CVE-2016-0752 KEV Ruby on Rails Directory Traversal Vulnerability 7.5 high 95.5% 16 Feb 2016
CVE-2015-4068 KEV Arcserve Unified Data Protection (UDP) Directory Traversal Vulnerability 9.1 critical 63.6% 29 May 2015
CVE-2015-3035 KEV TP-Link Multiple Archer Devices Directory Traversal Vulnerability 7.5 high 90.6% 17 Apr 2015
CVE-2015-0666 KEV Cisco Prime Data Center Network Manager (DCNM) Directory Traversal Vulnerability 7.5 high 40.3% 3 Apr 2015
CVE-2015-0016 KEV Microsoft Windows TS WebProxy Directory Traversal Vulnerability 7.8 high 75.7% 13 Jan 2015
CVE-2013-3993 KEV IBM InfoSphere BigInsights Invalid Input Vulnerability 6.5 medium 4.77% 7 Jul 2014
CVE-2014-2352 Cogent DataHub Path Traversal 7.8 high 2.25% 30 May 2014
CVE-2014-0130 KEV Ruby on Rails Directory Traversal Vulnerability 7.5 high 53.7% 7 May 2014
CVE-2014-0780 KEV InduSoft Web Studio Path Traversal 7.5 high 97.0% 25 Apr 2014
CVE-2014-0751 GE Proficy HMI/SCADA Path Traversal 6.8 medium 3.08% 25 Jan 2014
CVE-2014-0750 GE Proficy HMI/SCADA Path Traversal 7.5 high 69.8% 25 Jan 2014
CVE-2012-5380 Untrusted search path vulnerability in the installation functionality in Ruby 1.9.3-p194, when installed in the top-level C:\ directory… 6.7 medium 0.99% 11 Oct 2012
CVE-2010-2861 KEV Adobe ColdFusion Directory Traversal Vulnerability 7.5 high 99.7% 11 Aug 2010
CVE-2010-0481 The kernel in Microsoft Windows Vista Gold, SP1, and SP2, Windows Server 2008 Gold, SP2, and R2, and Windows 7 does not properly… 5.5 medium 1.53% 14 Apr 2010
CVE-2009-1936 _functions.php in cpCommerce 1.2.x, possibly including 1.2.9, sends a redirect but does not exit when it is called directly, which… 9.8 critical 51.8% 5 Jun 2009
CVE-2008-3939 Directory traversal vulnerability in the web interface in AVTECH PageR Enterprise before 5.0.7 allows remote attackers to read arbitrary… 7.5 high 1.70% 5 Sep 2008
CVE-2007-5927 Directory traversal vulnerability in OpenBase 10.0.5 and earlier allows remote authenticated users to create files with arbitrary… 8.1 high 3.97% 10 Nov 2007
CVE-2007-4559 Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted… 9.8 critical 27.0% 28 Aug 2007
CVE-2007-3967 Directory traversal vulnerability in index.php in PHP Directory Lister (dirLIST) before 0.1.1 allows remote attackers to list the… 7.5 high 2.05% 25 Jul 2007