{"id":"GHSA-gvff-25cc-4f66","summary":"Path Traversal in restify-swagger-jsdoc","details":"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.  \n\n\n\n## Recommendation\n\nUpgrade to version 3.2.1 or later.","modified":"2020-08-31T18:44:58Z","published":"2020-09-03T17:15:56Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:44:58Z"},"references":[{"type":"WEB","url":"https://www.npmjs.com/advisories/1037"}],"affected":[{"package":{"name":"restify-swagger-jsdoc","ecosystem":"npm","purl":"pkg:npm/restify-swagger-jsdoc"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.2.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-gvff-25cc-4f66/GHSA-gvff-25cc-4f66.json"}}],"schema_version":"1.9.0"}