{"answers":{"affected":"3 open source packages ship an affected version, including github.com/nrkno/terraform-provider-windns.","exploited":"There is no known exploitation of CVE-2025-46735 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-46735 is a low-severity command injection vulnerability in nrkno terraform-provider-windns, published on 6 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-46735 and fix it if it is affected.\n\nWhat it is: CVE-2025-46735 is a low-severity command injection vulnerability in nrkno terraform-provider-windns, published on 6 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-46735 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/nrkno/terraform-provider-windns (Go): affected all versions; no fix listed\n- github.com/nrkno/terraform-provider-windns (Go): affected all versions up to 1.0.4; no fix listed\n- github.com/nrkno/terraform-provider-windns (Go): affected all versions up to 1.0.4; no fix listed\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-2025-46735/ (Markdown: https://insights.sbomify.com/CVE-2025-46735/index.md)","id":"CVE-2025-46735","markdown":"https://insights.sbomify.com/CVE-2025-46735/index.md","name":"CVE-2025-46735","record":{"aliases":["GHSA-4vgf-2cm4-mp7c","GO-2025-3670"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Terraform WinDNS Provider","requires_auth":"high_privilege","summary":"Authenticated attackers can execute arbitrary commands via unsanitized input in the Terraform WinDNS Provider's windns_record resource.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":1.1,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:U","version":"4.0"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"Terraform WinDNS Provider allows users to manage their Windows DNS server resources through Terraform. A security issue has been found in Terraform WinDNS Provider before version `1.0.5`. The `windns_record` resource did not sanitize the input variables. This could lead to authenticated command injection in the underlyding powershell command prompt. Version 1.0.5 contains a fix for the issue.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Terraform WinDNS Provider improperly sanitizes input variables in `windns_record`","id":"CVE-2025-46735","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"Umbraco Makes User Enumeration Feasible Based on Timing of Login Response","id":"CVE-2025-46736"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/nrkno/terraform-provider-windns","purl":"pkg:golang/github.com/nrkno/terraform-provider-windns","source":"GO-2025-3670"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.0.4"],"package":"github.com/nrkno/terraform-provider-windns","purl":null,"source":"GHSA-4vgf-2cm4-mp7c"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.0.4"],"package":"github.com/nrkno/terraform-provider-windns","purl":"pkg:golang/github.com/nrkno/terraform-provider-windns","source":"GHSA-4vgf-2cm4-mp7c"}],"prev":{"headline":"league/commonmark Cross-site Scripting vulnerability in Attributes extension","id":"CVE-2025-46734"},"products":["terraform-provider-windns"],"published":"2025-05-06","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-06","vendors":["nrkno"]},"summary":"Authenticated attackers can execute arbitrary commands via unsanitized input in the Terraform WinDNS Provider's windns_record resource.","url":"https://insights.sbomify.com/CVE-2025-46735/"}