Description
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.
Remediation
References
https://gist.github.com/lirantal/5550bcd0bdf92c1b56fbb20e141fe5bd
https://security.snyk.io/vuln/SNYK-JS-STATICDEVSERVER-3149917
Related Vulnerabilities
CVE-2021-3137 Vulnerability in maven package org.xwiki.commons:xwiki-commons
CVE-2020-7743 Vulnerability in maven package org.webjars.bower:mathjs
CVE-2016-10735 Vulnerability in maven package org.webjars.bower:bootstrap-sass
CVE-2021-27850 Vulnerability in maven package org.apache.tapestry:tapestry-core
CVE-2019-5475 Vulnerability in maven package org.sonatype.nexus.plugins:nexus-yum-repository-plugin