Description
All versions of package easy-static-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being employed to the req.url user input that is passed to the server code.
Remediation
References
https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9
https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27
https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539
Related Vulnerabilities
CVE-2021-21175 Vulnerability in npm package electron
CVE-2022-36097 Vulnerability in maven package org.xwiki.platform:xwiki-platform-attachment-ui
CVE-2022-38749 Vulnerability in maven package org.yaml:snakeyaml
CVE-2022-40929 Vulnerability in maven package com.xuxueli:xxl-job-core
CVE-2020-7752 Vulnerability in npm package systeminformation