GHSA-8pww-pp5r-rff8

Suggest an improvement
Source
https://github.com/advisories/GHSA-8pww-pp5r-rff8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-8pww-pp5r-rff8/GHSA-8pww-pp5r-rff8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8pww-pp5r-rff8
Aliases
  • CVE-2020-7681
Published
2021-05-07T16:06:03Z
Modified
2023-11-08T04:04:04Z
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 marscode
Details

This affects all versionsup to and including version 1.0.1-0 of package marscode. There is no path sanitization in the path provided at fs.readFile in index.js.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-05-06T23:16:18Z",
    "nvd_published_at":  "2020-07-25T09:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / marscode

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.0.1-0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-8pww-pp5r-rff8/GHSA-8pww-pp5r-rff8.json"