Swoole before 4.2.13 allows directory traversal in swPort_http_static_handler.
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/swoole/swoole-src/compare/v4.2.12...v4.2.13 | third party advisory patch |
https://github.com/swoole/swoole-src/pull/2323 | third party advisory patch |