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.

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

CVETitleCVSSEPSSPublished
CVE-2022-44564 Huawei Aslan-AL10: Improper Limitation of a Pathname to a Restricted Directory 7.8 high 0.19% 28 Dec 2022
CVE-2022-4773 cloudsync LocalFilesystemConnector.java getItem path traversal 2.5 low 0.38% 27 Dec 2022
CVE-2022-4772 Widoco WidocoUtils.java unZipIt path traversal 4.5 medium 0.30% 27 Dec 2022
CVE-2022-4748 FlatPress File Delete panel.mediamanager.file.php doItemActions path traversal 5.5 medium 0.96% 27 Dec 2022
CVE-2021-39369 In Philips (formerly Carestream) Vue MyVue PACS through 12.2.x.x, the VideoStream function allows Path Traversal by authenticated users… 6.5 medium 0.98% 26 Dec 2022
CVE-2020-36629 SimbCo httpster server.coffee fs.realpathSync path traversal 5.5 medium 0.93% 25 Dec 2022
CVE-2020-36628 Calsign APDE ZIP File CopyBuildTask.java handleExtract path traversal 5.5 medium 0.96% 25 Dec 2022
CVE-2022-45894 GetFile.aspx in Planet eStream before 6.72.10.07 allows ..\ directory traversal to read arbitrary local files 6.5 medium 1.03% 25 Dec 2022
CVE-2022-44016 An issue was discovered in Simmeth Lieferantenmanager before 5.6 7.5 high 0.95% 25 Dec 2022
CVE-2022-46171 Tauri vulnerable to path traversal 6.8 medium 1.11% 23 Dec 2022
CVE-2022-47945 ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled… 9.8 critical 31.3% 23 Dec 2022
CVE-2022-46492 nbnbk commit 879858451d53261d10f77d4709aee2d01c72c301 was discovered to contain an arbitrary file read vulnerability via the component… 6.5 medium 0.54% 23 Dec 2022
CVE-2022-43858 IBM Navigator for i information disclosure 4.3 medium 1.11% 22 Dec 2022
CVE-2022-43857 IBM Navigator for i information disclosure 4.3 medium 1.11% 22 Dec 2022
CVE-2022-25895 Directory Traversal 7.5 high 1.37% 21 Dec 2022
CVE-2022-3184 Dataprobe iBoot-PDU FW: Improper Limitation of a Pathname to a Restricted Directory 9.8 critical 11.6% 21 Dec 2022
CVE-2022-25931 Directory Traversal 7.5 high 1.35% 21 Dec 2022
CVE-2022-36221 Nokia Fastmile 3tg00118abad52 is affected by an authenticated path traversal vulnerability which allows attackers to read any named pipe… 6.5 medium 0.86% 21 Dec 2022
CVE-2022-41591 Huawei HarmonyOS: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 0.56% 20 Dec 2022
CVE-2021-46856 Huawei HarmonyOS: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 0.64% 20 Dec 2022
CVE-2022-40607 IBM Spectrum Scale directory traversal 6.8 medium 1.04% 19 Dec 2022
CVE-2022-4063 InPost Gallery < 2.1.4.1 - Unauthenticated LFI to RCE 9.8 critical 10.3% 19 Dec 2022
CVE-2022-32573 lansweeper: Improper Limitation of a Pathname to a Restricted Directory 9.9 critical 3.91% 19 Dec 2022
CVE-2022-29517 lansweeper: Improper Limitation of a Pathname to a Restricted Directory 9.9 critical 57.6% 19 Dec 2022
CVE-2022-29511 lansweeper: Improper Limitation of a Pathname to a Restricted Directory 9.1 critical 2.63% 19 Dec 2022
CVE-2022-27498 lansweeper: Improper Limitation of a Pathname to a Restricted Directory 9.1 critical 38.3% 19 Dec 2022
CVE-2022-41418 An issue in the component BlogEngine/BlogEngine.NET/AppCode/Api/UploadController.cs of BlogEngine.NET v3.3.8.0 allows attackers to… 7.2 high 1.28% 19 Dec 2022
CVE-2022-4594 drogatkin TJWS2 WarRoller.java deployWar path traversal 6.3 medium 0.66% 18 Dec 2022
CVE-2022-4583 jLEMS JUtil.java unpackJar path traversal 6.3 medium 0.90% 17 Dec 2022
CVE-2022-4572 UBI Reader UBIFS File output.py ubireader_extract_files path traversal 5.4 medium 0.59% 17 Dec 2022
CVE-2022-23530 GuardDog vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package 5.8 medium 0.78% 16 Dec 2022
CVE-2022-46137 AeroCMS v0.0.1 is vulnerable to Directory Traversal 7.5 high 1.42% 16 Dec 2022
CVE-2022-20505 n/a Android: Improper Limitation of a Pathname to a Restricted Directory 6.7 medium 0.14% 16 Dec 2022
CVE-2022-45969 Alist v3.4.0 is vulnerable to Directory Traversal, 9.8 critical 1.26% 15 Dec 2022
CVE-2022-4511 RainyGao DocSys path traversal 5.3 medium 0.86% 15 Dec 2022
CVE-2020-24855 Directory Traversal vulnerability in easywebpack-cli before 4.5.2 allows attackers to obtain sensitive information via crafted GET request 5.3 medium 1.03% 15 Dec 2022
CVE-2022-23512 Metersphere is vulnerable to Path Injection. 7.7 high 0.88% 14 Dec 2022
CVE-2022-34271 Apache Atlas: zip path traversal in import functionality 8.8 high 1.50% 14 Dec 2022
CVE-2022-46256 Path traversal in GitHub Enterprise Server leading to remote code execution in GitHub Pages 8.8 high 2.14% 14 Dec 2022
CVE-2022-46255 Improper Limitation of a Pathname to a Restricted Directory in GitHub Enterprise Server leading to RCE 9.8 critical 1.60% 14 Dec 2022
CVE-2022-4494 bspkrs MCPMappingViewer ZIP File RemoteZipHandler.java extractZip path traversal 6.3 medium 0.56% 14 Dec 2022
CVE-2022-4493 scifio ZIP File DefaultSampleFilesService.java downloadAndUnpackResource path traversal 6.3 medium 0.59% 14 Dec 2022
CVE-2022-31703 n/a vRealize Log Insight (vRLI): Improper Limitation of a Pathname to a Restricted Directory 7.5 high 1.97% 14 Dec 2022
CVE-2022-40264 ICONICS and Mitsubishi Electric Corporation GENESIS64: Improper Limitation of a Pathname to a Restricted Directory 6.3 medium 0.32% 13 Dec 2022
CVE-2022-20449 n/a Android: Improper Limitation of a Pathname to a Restricted Directory 4.4 medium 0.15% 13 Dec 2022
CVE-2022-45269 A directory traversal vulnerability in the component SCS.Web.Server.SPI/1.0 of Linx Sphere LINX 7.35.ST15 allows attackers to read… 7.5 high 3.25% 12 Dec 2022
CVE-2022-4402 RainyGao DocSys ZIP File Decompression path traversal 4.7 medium 0.80% 11 Dec 2022
CVE-2022-45290 Kbase Doc v1.0 was discovered to contain an arbitrary file deletion vulnerability via the component /web/IndexController.java 9.1 critical 1.01% 9 Dec 2022
CVE-2022-4123 n/a podman: Relative Path Traversal 3.3 low 0.25% 8 Dec 2022
CVE-2022-44942 Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function 8.1 high 0.92% 7 Dec 2022