This affects all versions of package static-dev-server. This is because when paths from users to the root directory are joined, the assets for the path accessed are relative to that of the root 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.
Link | Tags |
---|---|
https://security.snyk.io/vuln/SNYK-JS-STATICDEVSERVER-3149917 | third party advisory exploit |
https://gist.github.com/lirantal/5550bcd0bdf92c1b56fbb20e141fe5bd | third party advisory exploit |