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-16037 HackerOne gomeplus-h5-proxy node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 4 Jun 2018
CVE-2017-16036 HackerOne badjs-sourcemap-server node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 4 Jun 2018
CVE-2017-16029 HackerOne hostr node module: Improper Limitation of a Pathname to a Restricted Directory – 1.76% 4 Jun 2018
CVE-2017-0930 HackerOne augustine node module: Improper Limitation of a Pathname to a Restricted Directory – 1.17% 4 Jun 2018
CVE-2016-10561 HackerOne bitty node module: Improper Limitation of a Pathname to a Restricted Directory – 1.44% 31 May 2018
CVE-2016-10538 HackerOne cli node module: Improper Limitation of a Pathname to a Restricted Directory – 0.96% 31 May 2018
CVE-2016-10528 HackerOne restafary node module: Improper Limitation of a Pathname to a Restricted Directory – 1.16% 31 May 2018
CVE-2014-10066 HackerOne fancy-server node module: Improper Limitation of a Pathname to a Restricted Directory – 1.57% 31 May 2018
CVE-2018-3734 HackerOne stattic node module: Improper Limitation of a Pathname to a Restricted Directory – 1.88% 29 May 2018
CVE-2018-3733 HackerOne crud-file-server node module: Improper Limitation of a Pathname to a Restricted Directory – 2.17% 29 May 2018
CVE-2017-16153 HackerOne gaoxuyan node module: Improper Limitation of a Pathname to a Restricted Directory – 1.69% 29 May 2018
CVE-2014-10068 HackerOne inert node module: Improper Limitation of a Pathname to a Restricted Directory – 1.89% 29 May 2018
CVE-2018-0323 n/a Cisco Enterprise NFV Infrastructure Software: Improper Limitation of a Pathname to a Restricted Directory – 1.78% 17 May 2018
CVE-2018-7503 Advantech WebAccess: Improper Limitation of a Pathname to a Restricted Directory – 2.45% 15 May 2018
CVE-2018-10589 Advantech WebAccess: Improper Limitation of a Pathname to a Restricted Directory – 3.94% 15 May 2018
CVE-2018-0258 n/a Cisco Prime File Upload Servlet: Improper Limitation of a Pathname to a Restricted Directory – 47.5% 2 May 2018
CVE-2017-6020 LCDS - Leão Consultoria e Desenvolvimento de Sistemas LTDA ME LAquis SCADA software: Improper Limitation of a Pathname to a Restricted Directory – 8.46% 17 Apr 2018
CVE-2018-1271 Spring Framework: Improper Limitation of a Pathname to a Restricted Directory – 30.3% 6 Apr 2018
CVE-2017-9270 post-auth arbitrary file write on cryptctl server 8.7 high 1.94% 1 Mar 2018
CVE-2017-14804 package builds could use directory traversal to write outside of target area 9.9 critical 1.71% 1 Mar 2018
CVE-2018-2380 KEV SAP Customer Relationship Management (CRM) Path Traversal Vulnerability 6.6 medium 29.6% 1 Mar 2018
CVE-2018-1162 Quest NetVault Backup: Improper Limitation of a Pathname to a Restricted Directory – 4.94% 8 Feb 2018
CVE-2018-0123 n/a Cisco IOS and IOS XE: Improper Limitation of a Pathname to a Restricted Directory – 0.41% 8 Feb 2018
CVE-2018-5445 n/a Advantech WebAccess/SCADA: Improper Limitation of a Pathname to a Restricted Directory – 1.83% 25 Jan 2018
CVE-2018-1048 Red Hat, Inc. undertow as shipped in Jboss EAP 7.1.0.GA: Improper Limitation of a Pathname to a Restricted Directory – 1.59% 24 Jan 2018
CVE-2017-16610 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 4.85% 23 Jan 2018
CVE-2017-16606 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 4.12% 23 Jan 2018
CVE-2017-16605 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 2.44% 23 Jan 2018
CVE-2017-16604 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 2.26% 23 Jan 2018
CVE-2017-16603 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 55.4% 23 Jan 2018
CVE-2017-16601 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 2.26% 23 Jan 2018
CVE-2017-16600 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 2.41% 23 Jan 2018
CVE-2017-16599 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 3.03% 23 Jan 2018
CVE-2017-16598 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 4.12% 23 Jan 2018
CVE-2017-16597 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 57.2% 23 Jan 2018
CVE-2017-16596 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 3.39% 23 Jan 2018
CVE-2017-16595 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 3.39% 23 Jan 2018
CVE-2017-16593 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 2.12% 23 Jan 2018
CVE-2017-16592 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 3.39% 23 Jan 2018
CVE-2017-16591 NetGain Systems Enterprise Manager: Improper Limitation of a Pathname to a Restricted Directory – 3.39% 23 Jan 2018
CVE-2017-16720 n/a Advantech WebAccess: Improper Limitation of a Pathname to a Restricted Directory – 50.3% 5 Jan 2018
CVE-2017-15895 Synology Router Manager (SRM): Improper Limitation of a Pathname to a Restricted Directory – 1.97% 8 Dec 2017
CVE-2017-15894 Synology DiskStation Manager (DSM): Improper Limitation of a Pathname to a Restricted Directory – 1.97% 8 Dec 2017
CVE-2017-15893 Synology File Station: Improper Limitation of a Pathname to a Restricted Directory – 1.84% 8 Dec 2017
CVE-2017-17058 The WooCommerce plugin through 3.x for WordPress has a Directory Traversal Vulnerability via a… 7.5 high 23.6% 29 Nov 2017
CVE-2017-11512 Zoho ManageEngine ServiceDesk: Improper Limitation of a Pathname to a Restricted Directory – 79.6% 8 Nov 2017
CVE-2017-11511 Zoho ManageEngine ServiceDesk: Improper Limitation of a Pathname to a Restricted Directory – 3.57% 8 Nov 2017
CVE-2017-10940 Joyent Smart Data Center: Improper Limitation of a Pathname to a Restricted Directory – 5.42% 31 Oct 2017
CVE-2017-12263 n/a Cisco License Manager: Improper Limitation of a Pathname to a Restricted Directory – 11.4% 5 Oct 2017
CVE-2017-11162 Synology Photo Station: Improper Limitation of a Pathname to a Restricted Directory – 1.61% 8 Sep 2017