Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. ehang.io/nps
  4. ›
  5. CVE-2019-15119

CVE-2019-15119: cnlh nps vulnerable to file overwrite by local user

May 24, 2022 (updated April 17, 2025)

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

  • github.com/advisories/GHSA-2vp2-8m5j-4rjx
  • github.com/cnlh/nps
  • github.com/cnlh/nps/commit/7178b3380720e910d283036a8d39879a94105515
  • github.com/cnlh/nps/issues/176
  • nvd.nist.gov/vuln/detail/CVE-2019-15119

Code Behaviors & Features

Detect and mitigate CVE-2019-15119 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.23.2

Fixed versions

  • 0.23.2

Solution

Upgrade to version 0.23.2 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-732: Incorrect Permission Assignment for Critical Resource

Source file

go/ehang.io/nps/CVE-2019-15119.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.