CVE-2025-46735: Github.com/nrkno/terraform provider windns Terraform WinDNS Provider Improperly Sanitizes Vulnerability
LOWCVE-2025-46735 is a LOW terraform windns provider improperly sanitizes vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Github.com/nrkno/terraform provider windns libraries in the Go ecosystem. The issue involves terraform windns provider improperly sanitizes input variables in `windns_record`. Remediation is available in the latest vendor maintenance releases.
CVE-2025-46735 at a Glance
How to Fix CVE-2025-46735
To remediate this vulnerability, upgrade all affected Github.com/nrkno/terraform provider windns dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/nrkno/terraform-provider-windns to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/nrkno/terraform-provider-windns
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-46735, inspect your project dependencies for Github.com/nrkno/terraform provider windns:
inspect dependencies for github.com/nrkno/terraform-provider-windns
Analyze the terminal output to locate any version of Github.com/nrkno/terraform provider windns in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Github.com/nrkno/terraform provider windns, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-46735 Affected Github.com/nrkno/terraform provider windns Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/nrkno/terraform-provider-windns
|
Go |
≤ 1.0.4
|
|
References
Frequently Asked Questions
What is CVE-2025-46735?
Which Github.com/nrkno/terraform provider windns versions are affected?
What version fixes CVE-2025-46735?
Is github.com/nrkno/terraform-provider-windns affected?
What CWE is associated with CVE-2025-46735?
How can I check Go dependencies for CVE-2025-46735?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4vgf-2cm4-mp7c",
"modified" : "2025-05-06T19:56:57Z",
"published" : "2025-05-06T16:38:44Z",
"aliases" : [ "CVE-2025-46735" ],
"summary" : "Terraform WinDNS Provider improperly sanitizes input variables in `windns_record`",
"details" : "## Impact:\nA security issue has been found in `terraform-provider-windns` before version `1.0.5`. The `windns_record` resource did not santize the input variables. This can lead to authenticated command injection in the underlyding powershell command prompt.\n\n## Patches:\n\n[`83ef736 (fix: better input validation)`](https://github.com/nrkno/terraform-provider-windns/commit/c76f69610c1b502f90aaed8c4f102194530b5bce)\n \n## Fixed versions:\n\n- `v1.0.5`",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/nrkno/terraform-provider-windns"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nrkno/terraform-provider-windns/security/advisories/GHSA-4vgf-2cm4-mp7c"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-46735"
}, {
"type" : "WEB",
"url" : "https://github.com/nrkno/terraform-provider-windns/commit/c76f69610c1b502f90aaed8c4f102194530b5bce"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nrkno/terraform-provider-windns"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-06T16:38:44Z",
"nvd_published_at" : "2025-05-06T17:16:12Z"
}
}