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-2020-7478 n/a IGSS (Interactive Graphical SCADA System) (IGSS Version prior to 14.0.0.20009): Improper Limitation of a Pathname to a Restricted Directory – 4.07% 23 Mar 2020
CVE-2020-1735 Red Hat ansible: Improper Limitation of a Pathname to a Restricted Directory 4.2 medium 0.46% 16 Mar 2020
CVE-2019-19297 Siemens SiNVR/SiVMS Video Server: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 2.80% 10 Mar 2020
CVE-2019-19296 Siemens SiNVR/SiVMS Video Server: Improper Limitation of a Pathname to a Restricted Directory 6.8 medium 1.81% 10 Mar 2020
CVE-2019-19290 Siemens Control Center Server (CCS): Improper Limitation of a Pathname to a Restricted Directory 6.5 medium 1.81% 10 Mar 2020
CVE-2020-1737 Red Hat Ansible: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 0.35% 9 Mar 2020
CVE-2019-3696 pcp: Local privilege escalation from user pcp to root through migrate_tempdirs 8.4 high 0.46% 3 Mar 2020
CVE-2019-7007 Avaya Equinox Conferencing Management (iView) Directory Traversal Vulnerability 7.5 high 1.66% 28 Feb 2020
CVE-2020-8131 n/a yarn: Improper Limitation of a Pathname to a Restricted Directory – 5.16% 24 Feb 2020
CVE-2020-6768 Path Traversal in Bosch Video Management System (BVMS) 8.6 high 1.68% 7 Feb 2020
CVE-2020-5720 n/a MikroTik WinBox: Improper Limitation of a Pathname to a Restricted Directory – 1.06% 6 Feb 2020
CVE-2020-6767 Path Traversal in Bosch Video Management System (BVMS) 7.7 high 1.31% 6 Feb 2020
CVE-2020-5221 Directory Traversal (Chroot Escape) vulnerability in uftpd 6.5 medium 1.16% 22 Jan 2020
CVE-2019-10934 Siemens TIA Portal V14: Improper Limitation of a Pathname to a Restricted Directory – 0.43% 16 Jan 2020
CVE-2020-1606 Junos OS: Path traversal vulnerability in J-Web 5.4 medium 0.93% 15 Jan 2020
CVE-2019-15980 Cisco Data Center Network Manager Path Traversal Vulnerabilities 7.2 high 49.9% 6 Jan 2020
CVE-2019-15981 Cisco Data Center Network Manager Path Traversal Vulnerabilities 7.2 high 14.3% 6 Jan 2020
CVE-2019-15982 Cisco Data Center Network Manager Path Traversal Vulnerabilities 7.2 high 14.3% 6 Jan 2020
CVE-2019-20085 KEV TVT NVMS-1000 Directory Traversal Vulnerability 7.5 high 96.0% 30 Dec 2019
CVE-2019-19781 KEV Citrix ADC, Gateway, and SD-WAN WANOP Appliance Code Execution Vulnerability 9.8 critical 99.9% 27 Dec 2019
CVE-2019-7483 KEV SonicWall SMA100 Directory Traversal Vulnerability 7.5 high 4.01% 19 Dec 2019
CVE-2019-15596 n/a statics-server: Improper Limitation of a Pathname to a Restricted Directory – 1.53% 18 Dec 2019
CVE-2019-15600 n/a http_server: Improper Limitation of a Pathname to a Restricted Directory – 2.51% 18 Dec 2019
CVE-2019-16777 Arbitrary File Overwrite in npm CLI 7.7 high 2.03% 13 Dec 2019
CVE-2019-16776 Unauthorized File Access in npm CLI before before version 6.13.3 7.7 high 3.41% 13 Dec 2019
CVE-2019-7195 KEV QNAP Photo Station Path Traversal Vulnerability 9.8 critical 96.2% 5 Dec 2019
CVE-2019-7194 KEV QNAP Photo Station Path Traversal Vulnerability 9.8 critical 94.3% 5 Dec 2019
CVE-2019-18253 n/a Relion 670 Series: Improper Limitation of a Pathname to a Restricted Directory – 1.98% 27 Nov 2019
CVE-2019-10220 SUSE kernel:: Improper Limitation of a Pathname to a Restricted Directory 8.0 high 5.12% 27 Nov 2019
CVE-2019-16765 github vscode-codeql: Execution with Unnecessary Privileges 7.4 high 5.36% 25 Nov 2019
CVE-2019-13157 Naver Vaccine: Improper Limitation of a Pathname to a Restricted Directory – 1.66% 22 Nov 2019
CVE-2019-10218 samba: Improper Limitation of a Pathname to a Restricted Directory 5.3 medium 3.14% 6 Nov 2019
CVE-2019-13551 n/a Advantech WISE-PaaS/RMM: Improper Limitation of a Pathname to a Restricted Directory – 4.91% 31 Oct 2019
CVE-2019-17324 ClipSoft REXPERT: Improper Limitation of a Pathname to a Restricted Directory – 1.21% 30 Oct 2019
CVE-2019-18187 KEV Trend Micro OfficeScan Directory Traversal Vulnerability 8.8 high 25.1% 28 Oct 2019
CVE-2019-15266 Cisco Wireless LAN Controller Path Traversal Vulnerability 4.4 medium 0.65% 16 Oct 2019
CVE-2019-16278 KEV Nostromo nhttpd Directory Traversal Vulnerability 9.8 critical 99.0% 14 Oct 2019
CVE-2019-0074 Junos OS: NFX150 Series, QFX10K Series, EX9200 Series, MX Series, PTX Series: Path traversal vulnerability in NFX150 and NG-RE leads to… 5.5 medium 0.36% 9 Oct 2019
CVE-2019-12691 Cisco Firepower Management Center Directory Traversal Vulnerability 4.1 medium 5.12% 2 Oct 2019
CVE-2019-12666 Cisco IOS XE Software Path Traversal Vulnerability 6.7 medium 1.14% 25 Sep 2019
CVE-2019-5484 n/a bower: Improper Limitation of a Pathname to a Restricted Directory – 2.57% 13 Sep 2019
CVE-2019-13532 n/a CODESYS V3 web server: Improper Limitation of a Pathname to a Restricted Directory – 3.47% 13 Sep 2019
CVE-2019-5480 n/a statichttpserver: Improper Limitation of a Pathname to a Restricted Directory – 1.60% 3 Sep 2019
CVE-2019-10197 samba: Improper Limitation of a Pathname to a Restricted Directory 6.5 medium 3.18% 3 Sep 2019
CVE-2019-1952 Cisco Enterprise NFV Infrastructure Software Path Traversal Vulnerability 6.7 medium 0.72% 8 Aug 2019
CVE-2019-10182 icedtea-web: Improper Limitation of a Pathname to a Restricted Directory 8.2 high 2.74% 31 Jul 2019
CVE-2019-10185 icedtea-web: Improper Limitation of a Pathname to a Restricted Directory 8.2 high 4.02% 31 Jul 2019
CVE-2019-10152 podman: Improper Link Resolution Before File Access 7.5 high 0.47% 30 Jul 2019
CVE-2019-5447 n/a http-file-server: Improper Limitation of a Pathname to a Restricted Directory – 1.50% 15 Jul 2019
CVE-2019-9886 eClass platform allows user to download arbitrary files without authentication 9.1 critical 2.25% 11 Jul 2019