GHSA-ph34-pc88-72gc

Suggest an improvement
Source
https://github.com/advisories/GHSA-ph34-pc88-72gc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-ph34-pc88-72gc/GHSA-ph34-pc88-72gc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ph34-pc88-72gc
Aliases
Related
Published
2022-05-13T01:53:21Z
Modified
2023-11-08T04:00:22.619590Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Incorrect Permission Assignment for Critical Resource in NPM
Details

An issue was discovered in an npm 5.7.0 2018-02-21 pre-release (marked as "next: 5.7.0" and therefore automatically installed by an "npm upgrade -g npm" command, and also announced in the vendor's blog without mention of pre-release status). It might allow local users to bypass intended filesystem access restrictions because ownerships of /etc and /usr directories are being changed unexpectedly, related to a "correctMkdir" issue.

Database specific
{
    "nvd_published_at": "2018-02-22T18:29:00Z",
    "github_reviewed_at": "2022-06-28T23:53:12Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-732"
    ]
}
References

Affected packages

npm / npm

Package

Affected ranges

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