GHSA-2vp2-8m5j-4rjx
cnlh nps vulnerable to file overwrite by local user
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | ehang.io/nps | < 0.23.2 | 0.23.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
`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.
References
External links from the advisory. They lead to third-party sites.