The inert directory handler in inert node module before 1.1.1 always allows files in hidden directories to be served, even when `showHidden` is false.
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://github.com/hapijs/inert/pull/15 | patch third party advisory issue tracking |
https://github.com/hapijs/inert/commit/e8f99f94da4cb08e8032eda984761c3f111e3e82 | third party advisory patch |
https://nodesecurity.io/advisories/14 | third party advisory patch |