Skip to content

Path Traversal in restify-swagger-jsdoc

High severity GitHub Reviewed Published Sep 3, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm restify-swagger-jsdoc (npm)

Affected versions

< 3.2.1

Patched versions

3.2.1

Description

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.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 3, 2020
Last updated Jan 9, 2023

Severity

High

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-gvff-25cc-4f66

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.