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-2018-3787 HackerOne simplehttpserver: Improper Limitation of a Pathname to a Restricted Directory – 2.04% 31 Aug 2018
CVE-2017-2627 Red Hat openstack-tripleo-common: Improper Limitation of a Pathname to a Restricted Directory 8.2 high 0.66% 22 Aug 2018
CVE-2017-16744 ICS-CERT Niagara AX Framework and Niagara 4 Framework: Improper Limitation of a Pathname to a Restricted Directory – 6.14% 20 Aug 2018
CVE-2018-10917 [UNKNOWN] pulp: Improper Limitation of a Pathname to a Restricted Directory 6.8 medium 1.07% 15 Aug 2018
CVE-2018-11455 Siemens AG Automation License Manager 5, Automation License Manager 6: Improper Limitation of a Pathname to a Restricted Directory – 5.24% 7 Aug 2018
CVE-2018-14847 KEV MikroTik Router OS Directory Traversal Vulnerability 9.1 critical 96.7% 2 Aug 2018
CVE-2017-2595 [UNKNOWN] wildfly: Improper Limitation of a Pathname to a Restricted Directory 7.7 high 3.06% 27 Jul 2018
CVE-2018-1002209 quazip: Improper Limitation of a Pathname to a Restricted Directory – 5.38% 25 Jul 2018
CVE-2018-1002208 SharpZipLib: Improper Limitation of a Pathname to a Restricted Directory – 8.52% 25 Jul 2018
CVE-2018-1002207 golang archiver: Improper Limitation of a Pathname to a Restricted Directory – 2.49% 25 Jul 2018
CVE-2018-1002206 SharpCompress: Improper Limitation of a Pathname to a Restricted Directory – 9.19% 25 Jul 2018
CVE-2018-1002205 DotNetZip.Semvered: Improper Limitation of a Pathname to a Restricted Directory 5.5 medium 10.2% 25 Jul 2018
CVE-2018-1002204 node.js adm-zip: Improper Limitation of a Pathname to a Restricted Directory – 12.9% 25 Jul 2018
CVE-2018-1002203 node.js unzipper: Improper Limitation of a Pathname to a Restricted Directory – 10.3% 25 Jul 2018
CVE-2018-1002202 zip4j: Improper Limitation of a Pathname to a Restricted Directory – 12.4% 25 Jul 2018
CVE-2018-1002201 zeroturnaround zt-zip: Improper Limitation of a Pathname to a Restricted Directory – 10.2% 25 Jul 2018
CVE-2018-1002200 Codehaus plexus-archiver: Improper Limitation of a Pathname to a Restricted Directory – 11.4% 25 Jul 2018
CVE-2017-3188 The dotCMS administration panel, versions 3.7.1 and earlier, "Push Publishing" feature in Enterprise Pro is vulnerable to path traversal – 2.72% 24 Jul 2018
CVE-2018-3770 HackerOne markdown-pdf: Improper Limitation of a Pathname to a Restricted Directory – 0.49% 20 Jul 2018
CVE-2018-10870 redhat-certification rhcertstore.py: Improper Limitation of a Pathname to a Restricted Directory 9.8 critical 5.89% 19 Jul 2018
CVE-2016-9484 PHP FormMail Generator generates PHP code for standard web forms, and the code generated does not properly validate user input folder directories… – 4.30% 13 Jul 2018
CVE-2018-3766 https://github.com/jtrussell buttle: Improper Limitation of a Pathname to a Restricted Directory – 1.89% 5 Jul 2018
CVE-2018-10860 [UNKNOWN] perl-archive-zip: Improper Limitation of a Pathname to a Restricted Directory 5.4 medium 42.1% 29 Jun 2018
CVE-2018-3760 HackerOne Sprockets: Improper Limitation of a Pathname to a Restricted Directory – 26.3% 26 Jun 2018
CVE-2018-4861 Siemens AG SCALANCE M875: Improper Limitation of a Pathname to a Restricted Directory – 1.87% 26 Jun 2018
CVE-2018-0300 n/a Cisco Firepower 4100 Series Next-Generation Firewall and Firepower 9300 Security Appliance unknown: Improper Limitation of a Pathname to a… – 6.86% 21 Jun 2018
CVE-2018-1103 Openshift Enterprise unsanitized paths in tar.go: Improper Limitation of a Pathname to a Restricted Directory 6.1 medium 1.32% 12 Jun 2018
CVE-2018-3758 HackerOne express-cart: Improper Limitation of a Pathname to a Restricted Directory – 26.9% 7 Jun 2018
CVE-2018-3732 HackerOne resolve-path node module: Improper Limitation of a Pathname to a Restricted Directory – 2.36% 7 Jun 2018
CVE-2018-3731 HackerOne public node module: Improper Limitation of a Pathname to a Restricted Directory – 1.99% 7 Jun 2018
CVE-2018-3730 HackerOne mcstatic node module: Improper Limitation of a Pathname to a Restricted Directory – 1.99% 7 Jun 2018
CVE-2018-3729 HackerOne localhost-now node module: Improper Limitation of a Pathname to a Restricted Directory – 1.98% 7 Jun 2018
CVE-2018-3727 HackerOne 626 node module: Improper Limitation of a Pathname to a Restricted Directory – 1.99% 7 Jun 2018
CVE-2018-3725 HackerOne hekto node module: Improper Limitation of a Pathname to a Restricted Directory – 1.99% 7 Jun 2018
CVE-2018-3724 HackerOne general-file-server node module: Improper Limitation of a Pathname to a Restricted Directory – 1.70% 7 Jun 2018
CVE-2018-3715 HackerOne glance node module: Improper Limitation of a Pathname to a Restricted Directory – 1.46% 7 Jun 2018
CVE-2018-3714 HackerOne node-srv node module: Improper Limitation of a Pathname to a Restricted Directory – 8.52% 7 Jun 2018
CVE-2018-3713 HackerOne angular-http-server node module: Improper Limitation of a Pathname to a Restricted Directory – 1.44% 7 Jun 2018
CVE-2018-3712 HackerOne serve node module: Improper Limitation of a Pathname to a Restricted Directory – 1.76% 7 Jun 2018
CVE-2017-16223 HackerOne nodeaaaaa node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16222 HackerOne elding node module: Improper Limitation of a Pathname to a Restricted Directory – 1.65% 7 Jun 2018
CVE-2017-16221 HackerOne yzt node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16220 HackerOne wind-mvc node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16219 HackerOne yttivy node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16218 HackerOne dgard8.lab6 node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16217 HackerOne fbr-client node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16216 HackerOne tencent-server node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16215 HackerOne sgqserve node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16214 HackerOne peiserver node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16213 HackerOne mfrserver node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018