{"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-0664 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-0664 is a high-severity vulnerability in gravitl/netmaker, published on 18 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-0664 and fix it if it is affected.\n\nWhat it is: CVE-2022-0664 is a high-severity vulnerability in gravitl/netmaker, published on 18 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-0664 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-0664/ (Markdown: https://insights.sbomify.com/CVE-2022-0664/index.md)","id":"CVE-2022-0664","markdown":"https://insights.sbomify.com/CVE-2022-0664/index.md","name":"CVE-2022-0664","record":{"aliases":["GHSA-6rrw-4fm9-rghv","GO-2022-0561"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Netmaker network overlay","requires_auth":"low_privilege","summary":"Attackers can exploit hard-coded cryptographic keys in Netmaker to bypass security controls and potentially access sensitive network data.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"netmaker","vendor":"netmaker"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"}],"description":"Use of Hard-coded Cryptographic Key in Go github.com/gravitl/netmaker prior to 0.8.5,0.9.4,0.10.0,0.10.1.","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 gravitl/netmaker","id":"CVE-2022-0664","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"hardcoded_credentials","year":"2022"},"n_packages":5,"n_references":2,"next":{"headline":"Path Traversal in pimcore/pimcore","id":"CVE-2022-0665"},"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-0561"},{"ecosystem":"Go","fixed":["0.8.5"],"introduced":["0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":null,"source":"GHSA-6rrw-4fm9-rghv"},{"ecosystem":"Go","fixed":["0.8.5"],"introduced":["0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":"pkg:golang/github.com/gravitl/netmaker","source":"GHSA-6rrw-4fm9-rghv"},{"ecosystem":"Go","fixed":["0.9.4"],"introduced":["0.9.0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":null,"source":"GHSA-6rrw-4fm9-rghv"},{"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-6rrw-4fm9-rghv"}],"prev":{"headline":"Print, PDF, Email by PrintFriendly \u003c 5.2.3 - Admin+ Stored Cross-Site Scripting","id":"CVE-2022-0663"},"products":["gravitl/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.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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["gravitl"]},"summary":"Attackers can exploit hard-coded cryptographic keys in Netmaker to bypass security controls and potentially access sensitive network data.","url":"https://insights.sbomify.com/CVE-2022-0664/"}