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-2023-27096 Vulnerability in maven package cn.hippo4j:hippo4j-all
CVE-2023-30363 Vulnerability in npm package vconsole
CVE-2017-16039 Vulnerability in npm package hftp
CVE-2016-3081 Vulnerability in maven package org.apache.struts.xwork:xwork-core
CVE-2022-43426 Vulnerability in maven package io.jenkins.plugins:s3explorer