{"api_version":"1","generated_at":"2026-07-05T10:21:33+00:00","cve":"CVE-2022-0664","urls":{"html":"https://cve.report/CVE-2022-0664","api":"https://cve.report/api/cve/CVE-2022-0664.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-0664","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-0664"},"summary":{"title":"Use of Hard-coded Cryptographic Key in gravitl/netmaker","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.","state":"PUBLISHED","assigner":"@huntrdev","published_at":"2022-02-18 14:15:07","updated_at":"2026-05-18 16:44:17"},"problem_types":["CWE-321","CWE-321 CWE-321 Use of Hard-coded Cryptographic Key"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.0","source":"security@huntr.dev","type":"Secondary","score":"8.8","severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.0","source":"CNA","type":"DECLARED","score":"8.8","severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"10","severity":"","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"https://github.com/gravitl/netmaker/commit/9bee12642986cb9534e268447b70e6f0f03c59cf","name":"https://github.com/gravitl/netmaker/commit/9bee12642986cb9534e268447b70e6f0f03c59cf","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"],"title":"hotfix 2 · gravitl/netmaker@9bee126 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://huntr.dev/bounties/29898a42-fd4f-4b5b-a8e3-ab573cb87eac","name":"https://huntr.dev/bounties/29898a42-fd4f-4b5b-a8e3-ab573cb87eac","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch","Third Party Advisory"],"title":"Use of Hard-coded Cryptographic Key  vulnerability found in netmaker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-0664","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0664","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"gravitl","product":"gravitl/netmaker","version":"affected unspecified 0.8.5,0.9.4,0.10.0,0.10.1 custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"664","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"netmaker","cpe5":"netmaker","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-02T23:32:46.560Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://huntr.dev/bounties/29898a42-fd4f-4b5b-a8e3-ab573cb87eac"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/gravitl/netmaker/commit/9bee12642986cb9534e268447b70e6f0f03c59cf"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"gravitl/netmaker","vendor":"gravitl","versions":[{"lessThan":"0.8.5,0.9.4,0.10.0,0.10.1","status":"affected","version":"unspecified","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_0":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-321","description":"CWE-321 Use of Hard-coded Cryptographic Key","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2022-02-18T14:00:12.000Z","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntrdev"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://huntr.dev/bounties/29898a42-fd4f-4b5b-a8e3-ab573cb87eac"},{"tags":["x_refsource_MISC"],"url":"https://github.com/gravitl/netmaker/commit/9bee12642986cb9534e268447b70e6f0f03c59cf"}],"source":{"advisory":"29898a42-fd4f-4b5b-a8e3-ab573cb87eac","discovery":"EXTERNAL"},"title":"Use of Hard-coded Cryptographic Key in gravitl/netmaker","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@huntr.dev","ID":"CVE-2022-0664","STATE":"PUBLIC","TITLE":"Use of Hard-coded Cryptographic Key in gravitl/netmaker"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"gravitl/netmaker","version":{"version_data":[{"version_affected":"<","version_value":"0.8.5,0.9.4,0.10.0,0.10.1"}]}}]},"vendor_name":"gravitl"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-321 Use of Hard-coded Cryptographic Key"}]}]},"references":{"reference_data":[{"name":"https://huntr.dev/bounties/29898a42-fd4f-4b5b-a8e3-ab573cb87eac","refsource":"CONFIRM","url":"https://huntr.dev/bounties/29898a42-fd4f-4b5b-a8e3-ab573cb87eac"},{"name":"https://github.com/gravitl/netmaker/commit/9bee12642986cb9534e268447b70e6f0f03c59cf","refsource":"MISC","url":"https://github.com/gravitl/netmaker/commit/9bee12642986cb9534e268447b70e6f0f03c59cf"}]},"source":{"advisory":"29898a42-fd4f-4b5b-a8e3-ab573cb87eac","discovery":"EXTERNAL"}}}},"cveMetadata":{"assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","assignerShortName":"@huntrdev","cveId":"CVE-2022-0664","datePublished":"2022-02-18T14:00:13.000Z","dateReserved":"2022-02-17T00:00:00.000Z","dateUpdated":"2024-08-02T23:32:46.560Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2022-02-18 14:15:07","lastModifiedDate":"2026-05-18 16:44:17","problem_types":["CWE-321","CWE-321 CWE-321 Use of Hard-coded Cryptographic Key"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV30":[{"source":"security@huntr.dev","type":"Secondary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:netmaker:netmaker:*:*:*:*:*:*:*:*","versionEndExcluding":"0.8.5","matchCriteriaId":"43B1EA87-7C1C-407D-B4B3-B2F1D07A3C56"},{"vulnerable":true,"criteria":"cpe:2.3:a:netmaker:netmaker:*:*:*:*:*:*:*:*","versionStartIncluding":"0.9.0","versionEndExcluding":"0.9.4","matchCriteriaId":"6DB31F04-4BA1-4E70-9458-9F7F4C6225F3"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"664","Ordinal":"1","Title":"Use of Hard-coded Cryptographic Key in gravitl/netmaker","CVE":"CVE-2022-0664","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"664","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Use of Hard-coded Cryptographic Key in gravitl/netmaker"}]}}}