GHSA-59qp-cfj3-rp64: Github.com/tinfoil factory/netfoil Netfoil Has A Domain Name Vulnerability

MODERATE
CWE-693 CWE-436
Published
Advisory Summary

GHSA-59qp-cfj3-rp64 is a MODERATE netfoil has a domain name vulnerability (CWE-693: Protection Mechanism Failure) affecting Github.com/tinfoil factory/netfoil libraries in the Go ecosystem. The issue involves netfoil has a domain name filter bypass via multiple questions. Remediation is available by upgrading affected packages to version 0.3.0.

GHSA-59qp-cfj3-rp64 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-59qp-cfj3-rp64
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-693: Protection Mechanism Failure
Affected Product Github.com/tinfoil factory/netfoil
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-59qp-cfj3-rp64

To remediate this vulnerability, upgrade all affected Github.com/tinfoil factory/netfoil 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/tinfoil-factory/netfoil fixed: 0.3.0
Upgrade github.com/tinfoil-factory/netfoil to 0.3.0
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/tinfoil-factory/netfoil

How to Check if You Are Affected

To determine whether your application is affected by GHSA-59qp-cfj3-rp64, inspect your project dependencies for Github.com/tinfoil factory/netfoil:

inspect dependencies for github.com/tinfoil-factory/netfoil

Analyze the terminal output to locate any version of Github.com/tinfoil factory/netfoil in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.0), 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-693: Protection Mechanism Failure, where the product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product. In Github.com/tinfoil factory/netfoil, 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

### Summary Potential bypass of domain name filter by crafting a DNS request with multiple questions, with the first question being legitimate. ### Impact Depends on a local attackers ability to craft multiple questions and the remote DoH server supporting them.

GHSA-59qp-cfj3-rp64 Affected Github.com/tinfoil factory/netfoil Versions

1 component(s)
Fixed Versions:
0.3.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/tinfoil-factory/netfoil
Go
< 0.3.0
0.3.0

References

Frequently Asked Questions

What is GHSA-59qp-cfj3-rp64?
GHSA-59qp-cfj3-rp64 is a security vulnerability in Github.com/tinfoil factory/netfoil involving netfoil has a domain name filter bypass via multiple questions under CWE-693: Protection Mechanism Failure.
Which Github.com/tinfoil factory/netfoil versions are affected?
Affected versions include releases prior to 0.3.0 across affected packages: github.com/tinfoil-factory/netfoil.
What version fixes GHSA-59qp-cfj3-rp64?
Upgrading to 0.3.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/tinfoil-factory/netfoil affected?
Yes, github.com/tinfoil-factory/netfoil is affected in releases prior to 0.3.0. Upgrade your dependency to 0.3.0 or later.
What CWE is associated with GHSA-59qp-cfj3-rp64?
GHSA-59qp-cfj3-rp64 is classified under CWE-693: Protection Mechanism Failure (The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.).
How can I check Go dependencies for GHSA-59qp-cfj3-rp64?
Run the dependency tree command: 'inspect dependencies for github.com/tinfoil-factory/netfoil'. 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-59qp-cfj3-rp64",
  "modified" : "2026-07-07T20:03:49Z",
  "published" : "2026-07-07T20:03:49Z",
  "aliases" : [ ],
  "summary" : "netfoil has a domain name filter bypass via multiple questions",
  "details" : "### Summary\nPotential bypass of domain name filter by crafting a DNS request with multiple questions, with the first question being legitimate.\n\n### Impact\nDepends on a local attackers ability to craft multiple questions and the remote DoH server supporting them.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/tinfoil-factory/netfoil"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.3.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/tinfoil-factory/netfoil/security/advisories/GHSA-59qp-cfj3-rp64"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/tinfoil-factory/netfoil"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-436", "CWE-693" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-07T20:03:49Z",
    "nvd_published_at" : null
  }
}