{"answers":{"affected":"5 open source packages ship an affected version, including github.com/gravitl/netmaker. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-32077 exists.","fix":"Upgrade github.com/gravitl/netmaker to a fixed version for your release line: 0.17.1 or 0.18.6.","what":"CVE-2023-32077 is a high-severity vulnerability in gravitl netmaker, published on 24 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-32077 and fix it if it is affected.\n\nWhat it is: CVE-2023-32077 is a high-severity vulnerability in gravitl netmaker, published on 24 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-32077 exists.\n\nAffected packages and fixed versions:\n- github.com/gravitl/netmaker (Go): affected all versions; fixed in 0.17.1, 0.18.6\n- github.com/gravitl/netmaker (Go): affected all versions; fixed in 0.17.1\n- github.com/gravitl/netmaker (Go): affected all versions; fixed in 0.17.1\n- github.com/gravitl/netmaker (Go): affected from 0.18.0; fixed in 0.18.6\n- github.com/gravitl/netmaker (Go): affected from 0.18.0; fixed in 0.18.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-32077/ (Markdown: https://insights.sbomify.com/CVE-2023-32077/index.md)","id":"CVE-2023-32077","markdown":"https://insights.sbomify.com/CVE-2023-32077/index.md","name":"CVE-2023-32077","record":{"aliases":["GHSA-8x8h-hcq8-jwwx","GO-2023-2022"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Netmaker network server","requires_auth":"none","summary":"Hardcoded DNS secret key allows unauthenticated users to access DNS API endpoints in Netmaker, requiring an upgrade to patched versions.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"netmaker","vendor":"netmaker"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"},{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-32077.yaml","stars":null,"title":"Netmaker - Hardcoded DNS Secret Key"}],"tier":"weaponised"},"has_fix":true,"headline":"Netmaker has Hardcoded DNS Secret Key","id":"CVE-2023-32077","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"hardcoded_credentials","year":"2023"},"n_packages":5,"n_references":4,"next":{"headline":"Netmaker IDOR Vulnerability Allows User to Update Other User's Password","id":"CVE-2023-32078"},"packages":[{"ecosystem":"Go","fixed":["0.17.1","0.18.6"],"introduced":["0","0.18.0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":"pkg:golang/github.com/gravitl/netmaker","source":"GO-2023-2022"},{"ecosystem":"Go","fixed":["0.17.1"],"introduced":["0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":null,"source":"GHSA-8x8h-hcq8-jwwx"},{"ecosystem":"Go","fixed":["0.17.1"],"introduced":["0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":"pkg:golang/github.com/gravitl/netmaker","source":"GHSA-8x8h-hcq8-jwwx"},{"ecosystem":"Go","fixed":["0.18.6"],"introduced":["0.18.0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":null,"source":"GHSA-8x8h-hcq8-jwwx"},{"ecosystem":"Go","fixed":["0.18.6"],"introduced":["0.18.0"],"last_affected":[],"package":"github.com/gravitl/netmaker","purl":"pkg:golang/github.com/gravitl/netmaker","source":"GHSA-8x8h-hcq8-jwwx"}],"prev":{"headline":"in-toto vulnerable to Configuration Read From Local Directory","id":"CVE-2023-32076"},"products":["netmaker"],"published":"2023-08-24","related":[{"cvss_score":8.8,"headline":"Netmaker Privilige Escalation Vulnerability","id":"CVE-2023-32079","kev_date_added":null,"published":"2023-08-24"},{"cvss_score":8.8,"headline":"Netmaker vulnerable to Insufficient Granularity of Access Control","id":"CVE-2022-36110","kev_date_added":null,"published":"2022-09-09"},{"cvss_score":8.8,"headline":"Use of Hard-coded Cryptographic Key in gravitl/netmaker","id":"CVE-2022-0664","kev_date_added":null,"published":"2022-02-18"},{"cvss_score":8.7,"headline":"Netmaker: Denial of Service via Server Shutdown Endpoint","id":"CVE-2026-29771","kev_date_added":null,"published":"2026-03-07"},{"cvss_score":8.2,"headline":"Netmaker does not verify JWT signatures for host tokens","id":"CVE-2026-38651","kev_date_added":null,"published":"2026-04-28"},{"cvss_score":7.5,"headline":"Netmaker IDOR Vulnerability Allows User to Update Other User's Password","id":"CVE-2023-32078","kev_date_added":null,"published":"2023-08-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-02","vendors":["gravitl"]},"summary":"Hardcoded DNS secret key allows unauthenticated users to access DNS API endpoints in Netmaker, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2023-32077/"}