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-2019-5444 n/a serve-here.js npm module: Improper Limitation of a Pathname to a Restricted Directory – 1.50% 10 Jul 2019
CVE-2019-10137 spacewalkproject spacewalk-proxy: Improper Limitation of a Pathname to a Restricted Directory 8.1 high 3.12% 2 Jul 2019
CVE-2019-3737 Dell EMC Avamar Security Update for ADMe Web UI Vulnerability 8.6 high 1.78% 19 Jun 2019
CVE-2018-13379 KEV Fortinet FortiOS SSL VPN Path Traversal Vulnerability 9.1 critical 99.9% 4 Jun 2019
CVE-2019-6754 Foxit Reader: Improper Limitation of a Pathname to a Restricted Directory 7.3 high 4.52% 3 Jun 2019
CVE-2019-1818 Cisco Prime Infrastructure and Evolved Programmable Network Manager Path Traversal Vulnerability 6.5 medium 13.6% 16 May 2019
CVE-2019-1819 Cisco Prime Infrastructure and Evolved Programmable Network Manager Path Traversal Vulnerability 6.5 medium 13.6% 16 May 2019
CVE-2019-1820 Cisco Prime Infrastructure and Evolved Programmable Network Manager Path Traversal Vulnerability 6.5 medium 13.6% 16 May 2019
CVE-2019-1717 Cisco Video Surveillance Manager Web-Based Management Interface Information Disclosure Vulnerability 7.5 high 10.0% 15 May 2019
CVE-2019-5438 n/a harp: Improper Limitation of a Pathname to a Restricted Directory – 1.48% 10 May 2019
CVE-2019-11510 KEV Ivanti Pulse Connect Secure Arbitrary File Read Vulnerability 9.9 critical 99.9% 8 May 2019
CVE-2019-3799 Directory Traversal with spring-cloud-config-server – 85.2% 6 May 2019
CVE-2019-1854 Cisco Expressway Series Directory Traversal Vulnerability 4.1 medium 3.75% 3 May 2019
CVE-2019-1836 Cisco Nexus 9000 Series Fabric Switches Application Centric Infrastructure Mode Symbolic Link Path Traversal Vulnerability 5.5 medium 0.44% 3 May 2019
CVE-2019-5624 Rapid7 Metasploit Framework Zip Import Directory Traversal 7.4 high 2.76% 30 Apr 2019
CVE-2019-3902 The Mercurial Project mercurial: Improper Limitation of a Pathname to a Restricted Directory 5.1 medium 1.36% 22 Apr 2019
CVE-2019-3398 KEV Atlassian Confluence Server and Data Center Path Traversal Vulnerability 8.8 high 97.1% 18 Apr 2019
CVE-2019-1835 Cisco Aironet Series Access Points Directory Traversal Vulnerability 4.4 medium 0.77% 18 Apr 2019
CVE-2019-10242 The Eclipse Foundation Eclipse Kura: Improper Limitation of a Pathname to a Restricted Directory – 1.96% 9 Apr 2019
CVE-2019-3880 The Samba Project samba: Improper Limitation of a Pathname to a Restricted Directory 4.2 medium 3.24% 9 Apr 2019
CVE-2014-5436 Honeywell Experion PKS: Improper Limitation of a Pathname to a Restricted Directory – 4.20% 8 Apr 2019
CVE-2019-5423 Npm, Inc. http-live-simulator: Improper Limitation of a Pathname to a Restricted Directory – 2.83% 3 Apr 2019
CVE-2019-5418 KEV Rails Ruby on Rails Path Traversal Vulnerability 7.5 high 98.5% 27 Mar 2019
CVE-2019-3828 Red Hat Ansible: Improper Limitation of a Pathname to a Restricted Directory 4.2 medium 0.52% 27 Mar 2019
CVE-2019-3396 KEV Atlassian Confluence Server and Data Center Server-Side Template Injection Vulnerability 9.8 critical 99.9% 25 Mar 2019
CVE-2019-9948 urllib in Python 2.x through 2.7.16 supports the local_file: scheme, which makes it easier for remote attackers to bypass protection… 9.1 critical 11.9% 23 Mar 2019
CVE-2019-1765 Cisco IP Phone 8800 Series Path Traversal Vulnerability 8.1 high 1.37% 22 Mar 2019
CVE-2019-5416 n/a localhost-now: Improper Limitation of a Pathname to a Restricted Directory – 2.21% 17 Mar 2019
CVE-2019-3816 [UNKNOWN] openwsman: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 14.7% 14 Mar 2019
CVE-2018-18809 KEV TIBCO JasperReports Library Directory Traversal Vulnerability 9.9 critical 78.8% 7 Mar 2019
CVE-2019-3474 Path traversal vulnerability in Filr web application 6.5 medium 8.95% 20 Feb 2019
CVE-2018-16485 HackerOne m-server: Improper Limitation of a Pathname to a Restricted Directory – 1.33% 1 Feb 2019
CVE-2018-16482 HackerOne mcstatic: Improper Limitation of a Pathname to a Restricted Directory – 1.82% 1 Feb 2019
CVE-2018-16479 HackerOne http-live-simulator: Improper Limitation of a Pathname to a Restricted Directory – 1.65% 1 Feb 2019
CVE-2019-6111 An issue was discovered in OpenSSH 7.9 5.9 medium 58.2% 31 Jan 2019
CVE-2018-19003 n/a GE Mark VIe, EX2100e, EX2100e_Reg, and LS2100e: Improper Limitation of a Pathname to a Restricted Directory – 2.56% 14 Dec 2018
CVE-2018-13812 Siemens AG SIMATIC HMI Comfort Panels 4" - 22", SIMATIC HMI Comfort Outdoor Panels 7" & 15", SIMATIC HMI KTP Mobile Panels KTP400F, KTP700… – 3.57% 13 Dec 2018
CVE-2018-16478 n/a simplehttpserver: Improper Limitation of a Pathname to a Restricted Directory – 1.30% 4 Dec 2018
CVE-2018-17934 n/a NUUO CMS: Improper Limitation of a Pathname to a Restricted Directory – 19.6% 27 Nov 2018
CVE-2018-16475 npm knightjs: Improper Limitation of a Pathname to a Restricted Directory – 1.76% 6 Nov 2018
CVE-2018-16473 npm takeapeek: Improper Limitation of a Pathname to a Restricted Directory – 1.37% 6 Nov 2018
CVE-2018-14654 The Gluster Project glusterfs: Improper Limitation of a Pathname to a Restricted Directory 5.4 medium 2.63% 31 Oct 2018
CVE-2018-14806 Advantech WebAccess: Improper Limitation of a Pathname to a Restricted Directory – 4.78% 23 Oct 2018
CVE-2018-0420 Cisco Wireless LAN Controller Software Directory Traversal Vulnerability 6.5 medium 4.64% 17 Oct 2018
CVE-2018-17899 LCDS - Leão Consultoria e Desenvolvimento de Sistemas LTDA ME LAquis SCADA: Improper Limitation of a Pathname to a Restricted Directory – 8.06% 17 Oct 2018
CVE-2018-0405 Cisco RV180W Wireless-N Multifunction VPN Router Directory Path Traversal Vulnerability – 2.88% 5 Oct 2018
CVE-2018-0464 Cisco Data Center Network Manager Path Traversal Vulnerability – 5.41% 5 Oct 2018
CVE-2018-0426 Cisco RV110W, RV130W, and RV215W Routers Management Interface Directory Traversal Vulnerability – 6.37% 5 Oct 2018
CVE-2018-10501 Samsung Notes: Improper Limitation of a Pathname to a Restricted Directory – 0.30% 24 Sep 2018
CVE-2016-7041 Red Hat Drools Workbench: Improper Limitation of a Pathname to a Restricted Directory 6.5 medium 3.91% 10 Sep 2018