GHSA-gvff-25cc-4f66
high
Path Traversal in restify-swagger-jsdoc
- Severity
- high rating by GitHub
- Published
- Last changed
Description
Versions of restify-swagger-jsdoc prior to 3.2.1 are vulnerable to Path Traversal. The package fails to properly sanitize URLs, which may allow attackers to access server files outside the swagger-ui folder by using relative paths.
Recommendation
Upgrade to version 3.2.1 or later.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| restify-swagger-jsdoc (npm) | before 3.2.1 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-gvff-25cc-4f66 changed 2020-08-31 | CC-BY-4.0 |