CVE-2022-21192
HIGH 7.5CVSS 3.1Directory Traversal vulnerability in serve-lite
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().
- Published
- 26 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-5qq4-m6c3-xxmf
- Sources
- NVDJSONOSV GHSA-5qq4-m6c3-xxmfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | serve-lite_project | serve-litecpe:2.3:a:serve-lite_project:serve-lite:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | serve-lite | <= 1.1.0 |
References
- https://gist.github.com/lirantal/9ccdfda0edcb95e36d07a04b0b6c2db0 · Exploit, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149916 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-21192 · ADVISORY
- https://github.com/beenotung/serve-lite · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 26 Jan 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 26 Jan 2023)