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-2019-12043 Vulnerability in maven package org.webjars.bowergithub.jonschlinkert:remarkable
CVE-2020-8178 Vulnerability in npm package jison
CVE-2020-26272 Vulnerability in maven package org.webjars.npm:electron
CVE-2020-28433 Vulnerability in npm package node-latex-pdf
CVE-2022-25644 Vulnerability in npm package @pendo324/get-process-by-name