andrepolischuk/servst · Security
Servst vulnerable to Path Traversal
- GHSA ID
- GHSA-88v8-v46g-6c9w
- CVE ID
- CVE-2022-25936
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Description
Versions of the package servst before 2.0.3 are vulnerable to Directory Traversal due to improper sanitization of its filePath variable.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25936 ↗
- https://github.com/andrepolischuk/servst/commit/f7cae5d2d7c64c86bc512e1e50614240396ef114 ↗
- https://gist.github.com/lirantal/691d02d607753d54856f9335f9a1692f ↗
- https://security.snyk.io/vuln/SNYK-JS-SERVST-3244896 ↗
- https://github.com/advisories/GHSA-88v8-v46g-6c9w ↗