{"id":"GHSA-gvff-25cc-4f66","aliases":["GHSA-gvff-25cc-4f66"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in restify-swagger-jsdoc","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T17:15:56.000Z","modified":"2020-08-31T18:44:58.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.2.1"}],"ecosystem":"npm","package":"restify-swagger-jsdoc","purl":"pkg:npm/restify-swagger-jsdoc","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1037","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gvff-25cc-4f66","url":"https://github.com/advisories/GHSA-gvff-25cc-4f66","licence":"CC-BY-4.0","modified":"2020-08-31T18:44:58.000Z"}],"updatedAt":"2026-11-25T22:56:45.498Z"}