GHSA-4x7w-frcq-v4m3

Suggest an improvement
Source
https://github.com/advisories/GHSA-4x7w-frcq-v4m3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-4x7w-frcq-v4m3/GHSA-4x7w-frcq-v4m3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4x7w-frcq-v4m3
Published
2020-09-03T20:38:47Z
Modified
2020-08-31T18:49:56Z
Summary
Path Traversal in @wturyn/swagger-injector
Details

All versions of @wturyn/swagger-injector are vulnerable to Path Traversal. The package fails to sanitize URLs, allowing attackers to access server files outside of the configured dist folder using relative paths.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

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

Affected packages

npm / @wturyn/swagger-injector

Package

Name
@wturyn/swagger-injector
View open source insights on deps.dev
Purl
pkg:npm/%40wturyn/swagger-injector

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-4x7w-frcq-v4m3/GHSA-4x7w-frcq-v4m3.json"