Vulnerability · Published Aug 24, 2023 · Assigned by GitHub_M
CVE-2023-32077Netmaker has Hardcoded DNS Secret Key
High 7.5
In plain English
A high-severity security flaw in netmaker from gravitl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.5% (higher than 89% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/gravitl/netmaker | 0.17.1 | GHSA-8x8h-hcq8-jwwx |
| Go | github.com/gravitl/netmaker | 0.18.6 | GHSA-8x8h-hcq8-jwwx |
| Go | github.com/gravitl/netmaker | 0.17.1, 0.18.6 | GO-2023-2022 |
Affected products (as reported)
Weakness: CWE-321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/gravitl/netmaker/security/advisories/GHSA-8x8h-hcq8-jwwx x_refsource_CONFIRM
- https://github.com/gravitl/netmaker/pull/2170 x_refsource_MISC
- https://github.com/gravitl/netmaker/commit/1621c27c1d176b639e9768b2acad7693e387fd51 x_refsource_MISC
- https://github.com/gravitl/netmaker/commit/9362c39a9a822f0e07361aa7c77af2610597e657 x_refsource_MISC