GHSA-2x4q-6jfv-8h9h

Suggest an improvement
Source
https://github.com/advisories/GHSA-2x4q-6jfv-8h9h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-2x4q-6jfv-8h9h/GHSA-2x4q-6jfv-8h9h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2x4q-6jfv-8h9h
Aliases
Published
2018-07-26T14:53:14Z
Modified
2023-11-08T04:00:16Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Path Traversal in glance
Details

Versions of glance before 3.0.4 are vulnerable to a Path Traversal vulnerability due to lack of validation of path passed to it, which allows a malicious user to read content of any file with known path.

Recommendation

Update to version 3.0.4 or later.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-06-16T20:53:13Z",
    "nvd_published_at":  "2018-06-07T02:29:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / glance

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-2x4q-6jfv-8h9h/GHSA-2x4q-6jfv-8h9h.json"