GitHub Advisory Database
GHSA-2vp2-8m5j-4rjx
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | ehang.io/nps | All versions before 0.23.2 (fixed in 0.23.2) |