Vulnerability Details : CVE-2022-25931
All versions of package easy-static-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-25931
- cpe:2.3:a:easy-static-server_project:easy-static-server:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-25931
0.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 50 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-25931
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-25931
-
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-25931
-
https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539
Directory Traversal in easy-static-server | CVE-2022-25931 | SnykExploit;Third Party Advisory
-
https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27
Page not found · GitHub · GitHubBroken Link;Third Party Advisory
-
https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9
Path traversal vulnerability in easy-static-server@0.1.1 · GitHubExploit;Third Party Advisory
Jump to