{"id":"GHSA-5qq4-m6c3-xxmf","summary":"Directory Traversal vulnerability in serve-lite","details":"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().","aliases":["CVE-2022-21192"],"modified":"2025-04-01T22:56:48Z","published":"2023-01-26T21:30:28Z","database_specific":{"nvd_published_at":"2023-01-26T21:15:00Z","cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-01-30T18:17:38Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21192"},{"type":"WEB","url":"https://gist.github.com/lirantal/9ccdfda0edcb95e36d07a04b0b6c2db0"},{"type":"PACKAGE","url":"https://github.com/beenotung/serve-lite"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149916"}],"affected":[{"package":{"name":"serve-lite","ecosystem":"npm","purl":"pkg:npm/serve-lite"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-5qq4-m6c3-xxmf/GHSA-5qq4-m6c3-xxmf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}