What’s Vulnerable › Vulnerabilities
CVE-2022-21192
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-01-26 · updated 2026-06-17
- Weakness: CWE-22
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 products
- serve-lite: all versions
References
- https://gist.github.com/lirantal/9ccdfda0edcb95e36d07a04b0b6c2db0
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149916
- https://gist.github.com/lirantal/9ccdfda0edcb95e36d07a04b0b6c2db0
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149916
Get alerted when CVE-2022-21192 or the next vulnerability affects your stack