restify-swagger-jsdoc
Affected
- introduced
0, fixed3.2.1(semver)
Fixed versions
3.2.1
Fix
- Fixed version
3.2.1npm install [email protected]
Advisory
Also known as: None
Path Traversal in restify-swagger-jsdoc
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.
Recommendation
Upgrade to version 3.2.1 or later.
High Basis: The source's own band: HIGH
0, fixed 3.2.1 (semver)3.2.1
3.2.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0