Vulnerability Details : CVE-2022-25848
Potential exploit
This affects all versions of package static-dev-server. This is because when paths from users to the root directory are joined, the assets for the path accessed are relative to that of the root directory.
Products affected by CVE-2022-25848
- cpe:2.3:a:static-dev-server_project:static-dev-server:1.0.0:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-25848
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 26 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-25848
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-25848
-
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-25848
-
https://gist.github.com/lirantal/5550bcd0bdf92c1b56fbb20e141fe5bd
Path traversal vulnerability in static-dev-server@1.0.0 ยท GitHubExploit;Third Party Advisory
-
https://security.snyk.io/vuln/SNYK-JS-STATICDEVSERVER-3149917
Directory Traversal in static-dev-server | CVE-2022-25848 | SnykExploit;Third Party Advisory
Jump to