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-2017-16155 HackerOne fast-http-cli node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16154 HackerOne earlybird node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16152 HackerOne static-html-server node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16150 HackerOne wangguojing123 node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16149 HackerOne zwserver node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16148 HackerOne serve46 node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16147 HackerOne shit-server node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16146 HackerOne mockserve node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16145 HackerOne sspa node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16144 HackerOne myserver.alexcthomas18 node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16143 HackerOne commentapp.stetsonwood node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16142 HackerOne infraserver node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16141 HackerOne lab6drewfusbyu node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16140 HackerOne lab6.brit95 node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16139 HackerOne jikes node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16135 HackerOne serverzyy node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16134 HackerOne http_static_simple node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16133 HackerOne goserv node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16132 HackerOne simple-npm-registry node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16131 HackerOne unicorn-list node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16130 HackerOne exxxxxxxxxxx node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16125 HackerOne rtcmulticonnection-client node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16124 HackerOne node-server-forfront node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16123 HackerOne welcomyzt node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16122 HackerOne cuciuci node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16121 HackerOne datachannel-client node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16120 HackerOne liyujing node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16110 HackerOne weather.swlyons node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16109 HackerOne easyquick node module: Improper Limitation of a Pathname to a Restricted Directory – 1.65% 7 Jun 2018
CVE-2017-16108 HackerOne gaoxiaotingtingting node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16107 HackerOne pooledwebsocket node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16106 HackerOne tmock node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16105 HackerOne serverwzl node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16104 HackerOne citypredict.whauwiller node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16103 HackerOne serveryztyzt node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16102 HackerOne serverhuwenhui node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16101 HackerOne serverwg node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16097 HackerOne tiny-http node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16096 HackerOne serveryaozeyan node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16095 HackerOne serverliujiayi1 node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16094 HackerOne iter-http node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16093 HackerOne cyber-js node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16092 HackerOne sencisho node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16091 HackerOne xtalk node module: Improper Limitation of a Pathname to a Restricted Directory – 1.73% 7 Jun 2018
CVE-2017-16090 HackerOne fsk-server node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16089 HackerOne serverlyr node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16085 HackerOne tinyserver2 node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16084 HackerOne list-n-stream node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16083 HackerOne node-simple-router node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 7 Jun 2018
CVE-2017-16039 HackerOne hftp node module: Improper Limitation of a Pathname to a Restricted Directory – 1.94% 4 Jun 2018