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.
Upgrade to version 3.2.1 or later.
{
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T18:44:58Z",
"nvd_published_at": null,
"severity": "HIGH",
"cwe_ids": [
"CWE-22"
]
}