Vulnerability Details : CVE-2022-21192
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().
Vulnerability category: Directory traversal
Products affected by CVE-2022-21192
- cpe:2.3:a:serve-lite_project:serve-lite:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-21192
0.20%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 58 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-21192
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
Snyk |
CWE ids for CVE-2022-21192
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-21192
-
https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149916
Directory Traversal in serve-lite | CVE-2022-21192 | SnykExploit;Third Party Advisory
-
https://gist.github.com/lirantal/9ccdfda0edcb95e36d07a04b0b6c2db0
Path traversal vulnerability in serve-lite@1.1.0 ยท GitHubExploit;Third Party Advisory
Jump to