lib/install/install.go in cnlh nps through 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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:ehang-io:nps:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.23.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "7178b3380720e910d283036a8d39879a94105515"
}
],
"source": "REFERENCES_COMMIT"
}
]
}