{"answers":{"affected":"5 open source packages ship an affected version, including github.com/gravitl/netmaker. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-23650 in the wild and no public exploit code.","fix":"Upgrade github.com/gravitl/netmaker to a fixed version for your release line: 0.8.5 or 0.9.4.","what":"CVE-2022-23650 is a high-severity vulnerability in gravitl netmaker, published on 18 Feb 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-23650 and fix it if it is affected.\n\nWhat it is: CVE-2022-23650 is a high-severity vulnerability in gravitl netmaker, published on 18 Feb 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-23650 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/gravitl/netmaker (Go): affected all versions; fixed in 0.8.5, 0.9.4\n- github.com/gravitl/netmaker (Go): affected all versions; fixed in 0.8.5\n- github.com/gravitl/netmaker (Go): affected all versions; fixed in 0.8.5\n- github.com/gravitl/netmaker (Go): affected from 0.9.0; fixed in 0.9.4\n- github.com/gravitl/netmaker (Go): affected from 0.9.0; fixed in 0.9.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-23650/ (Markdown: https://insights.sbomify.com/CVE-2022-23650/index.md)","id":"CVE-2022-23650","markdown":"https://insights.sbomify.com/CVE-2022-23650/index.md","name":"CVE-2022-23650","record":{"aliases":["GHSA-86f3-hf24-76q4","GO-2022-0328"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Netmaker server","requires_auth":"high_privilege","summary":"Attackers can execute admin commands on remote Netmaker servers using a hard-coded cryptographic key, requiring knowledge of the admin address and username.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"netmaker","vendor":"netmaker"}],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"},{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Use of Hard-coded Cryptographic Key in Netmaker","id":"CVE-2022-23650","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"hardcoded_credentials","year":"2022"},"n_packages":5,"n_references":4,"next":{"headline":"b2-sdk-python TOCTOU application key disclosure","id":"CVE-2022-23651"},"packages":[{"ecosystem":"Go","fixed":["0.8.5","0.9.4"],"introduced":["0","0.9.0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":"pkg:golang/github.com/gravitl/netmaker","source":"GO-2022-0328"},{"ecosystem":"Go","fixed":["0.8.5"],"introduced":["0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":null,"source":"GHSA-86f3-hf24-76q4"},{"ecosystem":"Go","fixed":["0.8.5"],"introduced":["0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":"pkg:golang/github.com/gravitl/netmaker","source":"GHSA-86f3-hf24-76q4"},{"ecosystem":"Go","fixed":["0.9.4"],"introduced":["0.9.0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":null,"source":"GHSA-86f3-hf24-76q4"},{"ecosystem":"Go","fixed":["0.9.4"],"introduced":["0.9.0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":"pkg:golang/github.com/gravitl/netmaker","source":"GHSA-86f3-hf24-76q4"}],"prev":{"headline":"Improper Certificate Validation in Cosign","id":"CVE-2022-23649"},"products":["netmaker"],"published":"2022-02-18","related":[{"cvss_score":8.8,"headline":"Netmaker Privilige Escalation Vulnerability","id":"CVE-2023-32079","kev_date_added":null,"published":"2023-08-24"},{"cvss_score":8.8,"headline":"Netmaker vulnerable to Insufficient Granularity of Access Control","id":"CVE-2022-36110","kev_date_added":null,"published":"2022-09-09"},{"cvss_score":8.8,"headline":"Use of Hard-coded Cryptographic Key in gravitl/netmaker","id":"CVE-2022-0664","kev_date_added":null,"published":"2022-02-18"},{"cvss_score":8.7,"headline":"Netmaker: Denial of Service via Server Shutdown Endpoint","id":"CVE-2026-29771","kev_date_added":null,"published":"2026-03-07"},{"cvss_score":8.2,"headline":"Netmaker does not verify JWT signatures for host tokens","id":"CVE-2026-38651","kev_date_added":null,"published":"2026-04-28"},{"cvss_score":7.5,"headline":"Netmaker has Hardcoded DNS Secret Key","id":"CVE-2023-32077","kev_date_added":null,"published":"2023-08-24"},{"cvss_score":7.5,"headline":"Netmaker IDOR Vulnerability Allows User to Update Other User's Password","id":"CVE-2023-32078","kev_date_added":null,"published":"2023-08-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["gravitl"]},"summary":"Attackers can execute admin commands on remote Netmaker servers using a hard-coded cryptographic key, requiring knowledge of the admin address and username.","url":"https://insights.sbomify.com/CVE-2022-23650/"}