{"schema_version":"1.9.0","id":"GHSA-gvff-25cc-4f66","published":"2020-09-03T17:15:56Z","modified":"2020-08-31T18:44:58Z","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.","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"}}],"references":[{"type":"WEB","url":"https://www.npmjs.com/advisories/1037"}],"database_specific":{"cwe_ids":["CWE-22"],"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:44:58Z","nvd_published_at":null,"severity":"HIGH"}}