Vulnerabilities in pkg:golang/ehang.io/nps
PACKAGECVE-2019-15119 is a MODERATE (CVSS 5.5) cnlh nps vulnerable to file vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Ehang.io/nps libraries in the Go ecosystem. The issue involves cnlh nps vulnerable to file overwrite by local user. Remediation is available by upgrading affected packages to version 0.23.2.
pkg:golang/ehang.io/nps
Vulnerability advisories affecting package pkg:golang/ehang.io/nps. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2vp2-8m5j-4rjx | CVE-2019-15119 | MODERATE | cnlh nps vulnerable to file overwrite by local user |
CVE-2019-15119 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N).
How to Fix CVE-2019-15119
To remediate this vulnerability, upgrade all affected Ehang.io/nps dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade ehang.io/nps to 0.23.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ehang.io/nps
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-15119, inspect your project dependencies for Ehang.io/nps:
inspect dependencies for ehang.io/nps
Analyze the terminal output to locate any version of Ehang.io/nps in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.23.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Ehang.io/nps, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-15119 Affected Ehang.io/nps Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ehang.io/nps
|
Go |
< 0.23.2
|
0.23.2
|
References
Frequently Asked Questions
What is CVE-2019-15119?
Which Ehang.io/nps versions are affected?
What version fixes CVE-2019-15119?
Is ehang.io/nps affected?
What is the CVSS score of CVE-2019-15119?
What CWE is associated with CVE-2019-15119?
How can I check Go dependencies for CVE-2019-15119?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2vp2-8m5j-4rjx",
"modified" : "2025-04-17T17:48:10Z",
"published" : "2022-05-24T16:53:50Z",
"aliases" : [ "CVE-2019-15119" ],
"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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "ehang.io/nps"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.23.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-15119"
}, {
"type" : "WEB",
"url" : "https://github.com/cnlh/nps/issues/176"
}, {
"type" : "WEB",
"url" : "https://github.com/cnlh/nps/commit/7178b3380720e910d283036a8d39879a94105515"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cnlh/nps"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-732" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-17T17:48:10Z",
"nvd_published_at" : "2019-08-16T15:15:00Z"
}
}