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-2021-21293 Vulnerability in maven package org.http4s:blaze-core_2.13
CVE-2021-34081 Vulnerability in npm package gitsome
CVE-2021-21616 Vulnerability in maven package org.biouno:uno-choice
CVE-2020-7638 Vulnerability in npm package confinit
CVE-2022-36888 Vulnerability in maven package com.datapipe.jenkins.plugins:hashicorp-vault-plugin