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-2020-24025 Vulnerability in maven package org.webjars.npm:node-sass
CVE-2017-16131 Vulnerability in npm package unicorn-list
CVE-2021-21294 Vulnerability in maven package org.http4s:http4s-blaze-server_2.12
CVE-2023-46650 Vulnerability in maven package com.coravy.hudson.plugins.github:github
CVE-2023-30516 Vulnerability in maven package org.jenkins-ci.plugins:image-tag-parameter