restify-swagger-jsdoc@3.0.0 vulnerabilities

Create Swagger documentation page based on jsdoc

Direct Vulnerabilities

Known vulnerabilities in the restify-swagger-jsdoc package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
Directory Traversal

restify-swagger-jsdoc is a package that creates Swagger documentation page based on jsdoc.

Affected versions of this package are vulnerable to Directory 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.

How to fix Directory Traversal?

Upgrade restify-swagger-jsdoc to version 3.2.1 or higher.

<3.2.1