Incorrect Permission Assignment for Critical Resource Affecting github.com/ehang-io/nps/lib/install package, versions <0.23.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMEHANGIONPSLIBINSTALL-9749612
  • published18 Apr 2025
  • disclosed15 Aug 2019
  • creditNico Waisman

Introduced: 15 Aug 2019

CVE-2019-15119  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade github.com/ehang-io/nps/lib/install to version 0.23.2 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource in the form of permissive file permissions on /usr/local/bin/nps and /usr/bin/nps. An attacker can overwrite these executable files.

CVSS Base Scores

version 4.0
version 3.1