CVE-2022-21192
7.5high
Directory Traversal vulnerability in serve-lite
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 1.43% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-5qq4-m6c3-xxmf
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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| serve-lite | before * | CVE List |
| serve-lite (npm) | up to 1.1.0 | GitHub Advisory Database |
| serve-lite_project serve-lite | Not specified | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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().
NVD (es)
Todas las versiones del paquete server-lite son vulnerables a Directory Traversal debido a la falta de sanitización de entrada u otras comprobaciones y protecciones empleadas en el req.url pasado tal cual a path.join().
References
| https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149916 | exploit, third-party-advisory, web | |
| https://gist.github.com/lirantal/9ccdfda0edcb95e36d07a04b0b6c2db0 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-21192 | advisory | |
| https://github.com/beenotung/serve-lite | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-21192 changed 2025-04-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5qq4-m6c3-xxmf changed 2025-04-01 | CC-BY-4.0 |
| NVD | CVE-2022-21192 changed 2026-06-17 | Public domain |