Description
All versions of the package serve-lite are vulnerable to Directory Traversal due to missing input sanitization or other checks and protections employed to the req.url passed as-is to path.join().
Remediation
References
https://gist.github.com/lirantal/9ccdfda0edcb95e36d07a04b0b6c2db0
https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149916
Related Vulnerabilities
CVE-2017-16134 Vulnerability in npm package http_static_simple
CVE-2023-37602 Vulnerability in maven package org.opencms:opencms-core
CVE-2022-43407 Vulnerability in maven package org.jenkins-ci.plugins:pipeline-input-step
CVE-2018-3750 Vulnerability in maven package org.webjars.npm:deep-extend
CVE-2022-36917 Vulnerability in maven package org.jenkins-ci.plugins:google-cloud-backup