GHSA-62g9-6hw5-rwfp

Suggest an improvement
Source
https://github.com/advisories/GHSA-62g9-6hw5-rwfp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-62g9-6hw5-rwfp/GHSA-62g9-6hw5-rwfp.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-62g9-6hw5-rwfp
Aliases
Published
2018-07-18T21:20:25Z
Modified
2023-11-01T04:49:28.086869Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Path Traversal in resolve-path
Details

Versions of resolve-path before 1.4.0 are vulnerable to path traversal. resolve-path relative path resolving suffers from a lack of file path sanitization for windows based paths.

Recommendation

Update to version 1.4.0 or later.

Database specific
{
    "nvd_published_at": "2018-06-07T02:29:00Z",
    "github_reviewed_at": "2020-06-16T21:17:44Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

npm / resolve-path

Package

Affected ranges

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