{"id":"CVE-2022-23650","published":"2022-02-18T22:00:12Z","modified":"2025-04-23T19:02:25Z","title":"Use of Hard-coded Cryptographic Key in Netmaker","vendor":"gravitl","product":"netmaker","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01587,"percentile":0.76201,"provenance":"source"},"cwes":[{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"}],"references":[{"url":"https://github.com/gravitl/netmaker/security/advisories/GHSA-86f3-hf24-76q4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gravitl/netmaker/pull/781/commits/1bec97c662670dfdab804343fc42ae4b1d050a87","tags":["x_refsource_MISC"]},{"url":"https://github.com/gravitl/netmaker/commit/3d4f44ecfe8be4ca38920556ba3b90502ffb4fee","tags":["x_refsource_MISC"]},{"url":"https://github.com/gravitl/netmaker/commit/e9bce264719f88c30e252ecc754d08f422f4c080","tags":["x_refsource_MISC"]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":15.24},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"gravitl","affectedVersions":[{"vendor":"gravitl","product":"netmaker","versions":["< 0.8.5",">= 0.9.0, < 0.9.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:55:56.957444Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gravitl/netmaker","vulnerableRanges":["<0.8.5",">=0.9.0, <0.9.4"],"patched":["0.8.5","0.9.4"],"from":["GHSA-86f3-hf24-76q4","GO-2022-0328"],"provenance":"source"}],"summary":{"text":"The Netmaker server component, which manages WireGuard-based virtual overlay networks, contains a hard-coded cryptographic key in its code base. An attacker with network access to the server who knows the administrator's address and username can use the key to run admin commands on the remote server, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:00Z"},"euvd":{"id":"EUVD-2022-0907","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gravitl-netmaker-cve-2022-0664","parents":[{"from":"CVE-2022-0664","to":"CVE-2022-23650","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["logic/jwts.go","logic/util.go"],"commits":["https://github.com/gravitl/netmaker/commit/9bee12642986cb9534e268447b70e6f0f03c59cf","https://github.com/gravitl/netmaker/commit/1bec97c662670dfdab804343fc42ae4b1d050a87","https://github.com/gravitl/netmaker/commit/3d4f44ecfe8be4ca38920556ba3b90502ffb4fee"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2022-23650","to":"CVE-2023-32078","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["logic/jwts.go"],"commits":["https://github.com/gravitl/netmaker/commit/1bec97c662670dfdab804343fc42ae4b1d050a87","https://github.com/gravitl/netmaker/commit/3d4f44ecfe8be4ca38920556ba3b90502ffb4fee","https://github.com/gravitl/netmaker/commit/b3be57c65bf0bbfab43b66853c8e3637a43e2839"],"basis":"shared function","functions":["CreateUserJWT"]}]}]}}