Advisory

GHSA-gvff-25cc-4f66

Also known as: None

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.

Recommendation

Upgrade to version 3.2.1 or later.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-03 17:15 UTC
Modified
2020-08-31 18:44 UTC

Affected packages and fixes

restify-swagger-jsdoc

npm · All systems

Affected

  • introduced 0, fixed 3.2.1 (semver)

Fixed versions

3.2.1

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences