Vulnerability Details : CVE-2022-25895
Potential exploit
All versions of package lite-dev-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being employed to the req.url user input that is passed to the server code.
Vulnerability category: Directory traversal
Products affected by CVE-2022-25895
- cpe:2.3:a:lite-dev-server_project:lite-dev-server:-:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-25895
0.30%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 51 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-25895
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-25895
-
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:
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2022-25895
-
https://gist.github.com/lirantal/0f8a48c3f5ac581ce73123abe9f7f120
Path traversal vulnerability in lite-dev-server@3.2.7 · GitHubExploit;Third Party Advisory
-
https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js%23L134
Page not found · GitHub · GitHubBroken Link
-
https://security.snyk.io/vuln/SNYK-JS-LITEDEVSERVER-3153718
Directory Traversal in lite-dev-server | CVE-2022-25895 | SnykExploit;Third Party Advisory
Jump to