Vulnerabilities in pkg:golang/github.com/nrkno/terraform-provider-windns

PACKAGE
Advisory Identifier: GHSA-4vgf-2cm4-mp7c
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/nrkno/terraform-provider-windns

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/nrkno/terraform-provider-windns. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-4vgf-2cm4-mp7c CVE-2025-46735 LOW Terraform WinDNS Provider improperly sanitizes input variables in `windns_record`

CVE-2025-46735 at a Glance

CVE Identifier CVE-2025-46735
GHSA Identifier GHSA-4vgf-2cm4-mp7c
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Affected Product Github.com/nrkno/terraform provider windns
Package Ecosystem Go
Published Date
Last Updated

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.

github.com/nrkno/terraform-provider-windns fixed: Latest secure release
Upgrade github.com/nrkno/terraform-provider-windns to Latest secure release
Verify Direct and Transitive Dependencies

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

## Impact: A 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. ## Patches: [`83ef736 (fix: better input validation)`](https://github.com/nrkno/terraform-provider-windns/commit/c76f69610c1b502f90aaed8c4f102194530b5bce) ## Fixed versions: - `v1.0.5`

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?
CVE-2025-46735 is a security vulnerability in Github.com/nrkno/terraform provider windns involving Terraform WinDNS Provider improperly sanitizes input variables in `windns_record` under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection').
Which Github.com/nrkno/terraform provider windns versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/nrkno/terraform-provider-windns.
What version fixes CVE-2025-46735?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/nrkno/terraform-provider-windns affected?
Yes, github.com/nrkno/terraform-provider-windns is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2025-46735?
CVE-2025-46735 is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') (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.).
How can I check Go dependencies for CVE-2025-46735?
Run the dependency tree command: 'inspect dependencies for github.com/nrkno/terraform-provider-windns'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}