Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS04NmYzLWhmMjQtNzZxNM0uIw

Use of Hard-coded Cryptographic Key in Netmaker

Impact

There is a hard-coded cryptographic key in the code base which can be exploited to run admin commands on a remote server, if you know the address and username of the admin. This effects the server (netmaker) component, and not clients.

Patches

This has been patched in Netmaker v0.8.5, v0.9.4, and v0.10.0. If you are running these versions, the fix is to perform the following:

  1. docker-compose down
  2. docker pull gravitl/netmaker:( version )
  3. docker-compose up -d

Additional Information

If you are running any other version, you will need to upgrade to one of these three versions. If you have a special circumstance that requires running a different version, let us know and we may be able to build a custom patch.

For more information

If you have any questions or comments about this advisory:

Permalink: https://github.com/advisories/GHSA-86f3-hf24-76q4
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04NmYzLWhmMjQtNzZxNM0uIw
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 2 years ago
Updated: about 1 year ago


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

Identifiers: GHSA-86f3-hf24-76q4, CVE-2022-23650
References: Repository: https://github.com/gravitl/netmaker
Blast Radius: 5.6

Affected Packages

go:github.com/gravitl/netmaker
Dependent packages: 7
Dependent repositories: 6
Downloads:
Affected Version Ranges: >= 0.9.0, < 0.9.4, < 0.8.5
Fixed in: 0.9.4, 0.8.5
All affected versions: 0.5.5, 0.5.10, 0.5.11, 0.7.1, 0.7.3, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.9.0, 0.9.1, 0.9.2, 0.9.3
All unaffected versions: 0.8.5, 0.9.4, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.12.1, 0.12.2, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.14.5, 0.14.6, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.18.4, 0.18.5, 0.18.6, 0.18.7, 0.19.0, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.20.4, 0.20.5, 0.20.6, 0.21.0, 0.21.1, 0.21.2, 0.22.0, 0.23.0, 0.24.0