GHSA-gvff-25cc-4f66

Suggest an improvement
Source
https://github.com/advisories/GHSA-gvff-25cc-4f66
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-gvff-25cc-4f66/GHSA-gvff-25cc-4f66.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gvff-25cc-4f66
Published
2020-09-03T17:15:56Z
Modified
2020-08-31T18:44:58Z
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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:44:58Z",
    "nvd_published_at": null,
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

npm / restify-swagger-jsdoc

Package

Name
restify-swagger-jsdoc
View open source insights on deps.dev
Purl
pkg:npm/restify-swagger-jsdoc

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-gvff-25cc-4f66/GHSA-gvff-25cc-4f66.json"