GHSA-2vp2-8m5j-4rjx

Suggest an improvement
Source
https://github.com/advisories/GHSA-2vp2-8m5j-4rjx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-2vp2-8m5j-4rjx/GHSA-2vp2-8m5j-4rjx.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-2vp2-8m5j-4rjx
Aliases
Published
2022-05-24T16:53:50Z
Modified
2025-04-22T18:43:53.921641Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
cnlh nps vulnerable to file overwrite by local user
Details

lib/install/install.go in cnlh nps prior to 0.23.2 uses 0777 permissions for /usr/local/bin/nps and/or /usr/bin/nps, leading to a file overwrite by a local user.

Database specific
{
    "nvd_published_at": "2019-08-16T15:15:00Z",
    "cwe_ids": [
        "CWE-732"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-04-17T17:48:10Z"
}
References

Affected packages

Go / ehang.io/nps

Package

Name
ehang.io/nps
View open source insights on deps.dev
Purl
pkg:golang/ehang.io/nps

Affected ranges

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