# Use of Hard-coded Cryptographic Key in Netmaker in github.com/gravitl/netmaker

Advisory record · `GHSA-6rrw-4fm9-rghv`

- **Identifiers:** `GHSA-6rrw-4fm9-rghv` · `CVE-2022-0664` · `GO-2022-0561`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **Weakness (CWE):** [CWE-321](https://cwe.mitre.org/data/definitions/321.html)
- **Tags:** [Hard-coded credentials](https://agentprime.io/advisories/tag/hard-coded-credentials.md)
- **Published:** 21 Aug 2024
- **Updated:** 3 Mar 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 21 Aug 2024, 15:11 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/gravitl/netmaker` (Go): affected `<0.8.5 || >=0.9.0, <0.9.4`; fixed in `0.8.5`, `0.9.4`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Go module github.com/gravitl/netmaker is affected in versions before 0.8.5 and from 0.9.0 up to (but not including) 0.9.4. The source gives few details beyond the title, which names a hard-coded cryptographic key. Upgrade to version 0.8.5 or 0.9.4, or later.

Written 10 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.8 High, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (@huntrdev)

- **CISA KEV:** Not listed.
- **EPSS:** 0.017, the 78th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 21 Aug 2024. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-6rrw-4fm9-rghv](https://github.com/advisories/GHSA-6rrw-4fm9-rghv)
- [OSV: GHSA-6rrw-4fm9-rghv](https://osv.dev/vulnerability/GHSA-6rrw-4fm9-rghv)
- <https://github.com/advisories/GHSA-6rrw-4fm9-rghv>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0664>
- <https://github.com/gravitl/netmaker/commit/9bee12642986cb9534e268447b70e6f0f03c59cf>
- <https://huntr.dev/bounties/29898a42-fd4f-4b5b-a8e3-ab573cb87eac>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-6rrw-4fm9-rghv>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-6rrw-4fm9-rghv/>. Everything for agents: <https://agentprime.io/llms.txt>.
