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,989 published CVE records name this weakness. Abstraction: Base. Status: Stable. CWE-22 at MITRE

CVETitleCVSSEPSSPublished
CVE-2021-39312 True Ranker <= 2.2.2 Directory Traversal/Arbitrary File Read 7.5 high 77.9% 14 Dec 2021
CVE-2021-42022 Siemens SIMATIC eaSie PCS 7 Skill Package: Improper Limitation of a Pathname to a Restricted Directory – 0.94% 14 Dec 2021
CVE-2021-41547 Siemens Teamcenter Active Workspace V4.3: Improper Limitation of a Pathname to a Restricted Directory – 1.09% 14 Dec 2021
CVE-2021-24970 All-In-One-Gallery < 2.5.0 - Admin+ Local File Inclusion – 5.01% 13 Dec 2021
CVE-2021-43815 Grafana directory traversal for `.cvs` files 4.3 medium 1.87% 10 Dec 2021
CVE-2021-43813 Directory Traversal in Grafana 4.3 medium 56.8% 10 Dec 2021
CVE-2021-43798 KEV Grafana path traversal 7.5 high 88.5% 7 Dec 2021
CVE-2021-43800 Asset directory traversal with some storage modules on Windows 7.5 high 1.80% 6 Dec 2021
CVE-2021-43795 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in com.linecorp.armeria:armeria 7.5 high 1.71% 2 Dec 2021
CVE-2021-43358 Sunnet eHRD - Path Traversal 7.5 high 2.37% 1 Dec 2021
CVE-2021-43788 Path traversal in translator module of NobeBB 5.0 medium 25.8% 29 Nov 2021
CVE-2021-43783 Path Traversal in @backstage/plugin-scaffolder-backend 8.5 high 1.25% 29 Nov 2021
CVE-2021-41279 Zip Slip Vulnerability in BaserCMS 7.7 high 1.62% 26 Nov 2021
CVE-2021-43778 Path traversal in GLPI barcode plugin 9.1 critical 51.7% 24 Nov 2021
CVE-2021-24644 Images to WebP < 1.9 - Authenticated Local File Inclusion – 5.72% 23 Nov 2021
CVE-2021-41281 Path traversal in Matrix Synapse 7.5 high 1.58% 23 Nov 2021
CVE-2021-43775 Arbitrary file reading vulnerability in Aim 8.6 high 1.91% 23 Nov 2021
CVE-2021-22028 n/a gpfdist (Greenplum): Improper Limitation of a Pathname to a Restricted Directory – 2.43% 19 Nov 2021
CVE-2021-40745 Adobe Campaign Path Traversal Leads to Information Exposure 7.5 high 3.72% 17 Nov 2021
CVE-2021-3907 Arbitrary filepath traversal via URI injection 7.4 high 4.12% 11 Nov 2021
CVE-2021-40359 Siemens OpenPCS 7 V8.2: Improper Limitation of a Pathname to a Restricted Directory 7.7 high 1.17% 9 Nov 2021
CVE-2021-40358 Siemens SIMATIC PCS 7 V8.2: Improper Limitation of a Pathname to a Restricted Directory 9.9 critical 1.27% 9 Nov 2021
CVE-2021-3924 Path Traversal in getgrav/grav 8.8 high 4.36% 5 Nov 2021
CVE-2021-3916 Path Traversal in bookstackapp/bookstack 6.5 medium 1.24% 5 Nov 2021
CVE-2021-34701 Cisco Unified Communications Products Path Traversal Vulnerability 4.3 medium 1.56% 4 Nov 2021
CVE-2021-3823 Path traversal vulnerability in Bitdefender GravitZone Update Server in relay mode 7.1 high 1.06% 28 Oct 2021
CVE-2019-3556 Facebook HHVM: Improper Limitation of a Pathname to a Restricted Directory – 1.79% 26 Oct 2021
CVE-2021-41185 Download file outside intended directory 8.8 high 1.42% 26 Oct 2021
CVE-2021-34860 D-Link DAP-2020: Improper Limitation of a Pathname to a Restricted Directory 6.5 medium 1.46% 25 Oct 2021
CVE-2021-42542 Emerson WirelessHART Gateway 8.0 high 1.48% 22 Oct 2021
CVE-2021-35230 Unquoted Path Vulnerability (SMB Login) in Kiwi CatTools 6.7 medium 0.33% 22 Oct 2021
CVE-2021-41127 Maliciously Crafted Model Archive Can Lead To Arbitrary File Write in rasa 7.3 high 0.76% 21 Oct 2021
CVE-2021-41150 Improper sanitization of delegated role names in tough 8.2 high 1.28% 19 Oct 2021
CVE-2021-31385 Junos OS: J-Web: A path traversal vulnerability allows an authenticated attacker to elevate their privileges to root 8.8 high 1.50% 19 Oct 2021
CVE-2021-41149 Improper sanitization of target names in tough 8.2 high 1.11% 19 Oct 2021
CVE-2021-41131 Client metadata path-traversal in python-tuf 7.5 high 1.45% 19 Oct 2021
CVE-2021-41152 Path Traversal in Folder Component Leading to Local File Inclusion 7.7 high 1.24% 18 Oct 2021
CVE-2021-41151 Path Traversal in @backstage/plugin-scaffolder-backend 6.8 medium 1.32% 18 Oct 2021
CVE-2021-40724 Adobe Acrobat Reader Android Abritrary Code Execution Vulnerability 7.8 high 4.17% 15 Oct 2021
CVE-2021-3874 Path Traversal in bookstackapp/bookstack 4.3 medium 1.20% 15 Oct 2021
CVE-2021-33178 NagVis: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 14 Oct 2021
CVE-2021-20124 KEV Draytek VigorConnect Path Traversal Vulnerability 7.5 high 95.9% 13 Oct 2021
CVE-2021-20123 KEV Draytek VigorConnect Path Traversal Vulnerability 7.5 high 90.3% 13 Oct 2021
CVE-2021-38452 Moxa MXview Network Management Software 7.5 high 1.65% 12 Oct 2021
CVE-2021-33726 Siemens SINEC NMS: Improper Limitation of a Pathname to a Restricted Directory – 1.21% 12 Oct 2021
CVE-2021-33725 Siemens SINEC NMS: Improper Limitation of a Pathname to a Restricted Directory – 1.03% 12 Oct 2021
CVE-2021-33724 Siemens SINEC NMS: Improper Limitation of a Pathname to a Restricted Directory – 1.03% 12 Oct 2021
CVE-2021-33722 Siemens SINEC NMS: Improper Limitation of a Pathname to a Restricted Directory – 0.85% 12 Oct 2021
CVE-2021-42013 KEV Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) 9.8 critical 99.9% 7 Oct 2021
CVE-2021-41773 KEV Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49 7.5 high 99.9% 5 Oct 2021