Vulnerability · Published Feb 18, 2022 · Assigned by GitHub_M
CVE-2022-23650Use of Hard-coded Cryptographic Key in Netmaker
High 7.2
In plain English
A high-severity security flaw in netmaker from gravitl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Netmaker is a platform for creating and managing virtual overlay networks using WireGuard. Prior to versions 0.8.5, 0.9.4, and 010.0, there is a hard-coded cryptographic key in the code base which can be exploited to run admin commands on a remote server if the exploiter know the address and username of the admin. This effects the server (netmaker) component, and not clients. This has been patched in Netmaker v0.8.5, v0.9.4, and v0.10.0. There are currently no known workarounds.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/gravitl/netmaker | 0.8.5 | GHSA-86f3-hf24-76q4 |
| Go | github.com/gravitl/netmaker | 0.9.4 | GHSA-86f3-hf24-76q4 |
| Go | github.com/gravitl/netmaker | 0.8.5, 0.9.4 | GO-2022-0328 |
Affected products (as reported)
Weakness: CWE-321 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/gravitl/netmaker/security/advisories/GHSA-86f3-hf24-76q4 x_refsource_CONFIRM
- https://github.com/gravitl/netmaker/pull/781/commits/1bec97c662670dfdab804343fc42ae4b1d050a87 x_refsource_MISC
- https://github.com/gravitl/netmaker/commit/3d4f44ecfe8be4ca38920556ba3b90502ffb4fee x_refsource_MISC
- https://github.com/gravitl/netmaker/commit/e9bce264719f88c30e252ecc754d08f422f4c080 x_refsource_MISC