GHSA-7856-g3gv-9wq8: netfoil Attacker Controlled Data Written To Vulnerability
LOWGHSA-7856-g3gv-9wq8 is a LOW attacker controlled data written to vulnerability (CWE-117: Improper Output Neutralization for Logs) affecting netfoil libraries in the Go ecosystem. The issue involves attacker controlled data written to logs. Remediation is available by upgrading affected packages to version 0.3.0.
GHSA-7856-g3gv-9wq8 at a Glance
How to Fix GHSA-7856-g3gv-9wq8
To remediate this vulnerability, upgrade all affected 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.
Upgrade github.com/tinfoil-factory/netfoil to 0.3.0
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-7856-g3gv-9wq8, inspect your project dependencies for netfoil:
inspect dependencies for github.com/tinfoil-factory/netfoil
Analyze the terminal output to locate any version of 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-117: Improper Output Neutralization for Logs, where the product constructs a log message from external input, but it does not neutralize or incorrectly neutralizes special elements when the message is written to a log file. In 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
GHSA-7856-g3gv-9wq8 Affected netfoil Versions
1 component(s)| 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-7856-g3gv-9wq8?
Which netfoil versions are affected?
What version fixes GHSA-7856-g3gv-9wq8?
Is github.com/tinfoil-factory/netfoil affected?
What CWE is associated with GHSA-7856-g3gv-9wq8?
How can I check Go dependencies for GHSA-7856-g3gv-9wq8?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7856-g3gv-9wq8",
"modified" : "2026-07-07T20:04:22Z",
"published" : "2026-07-07T20:04:22Z",
"aliases" : [ ],
"summary" : "netfoil: Attacker controlled data written to logs",
"details" : "### Summary\nDomain names were written to the log without first being validated to contain allowed characters.\n\n### Impact\nDepends on how the logs were used.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/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-7856-g3gv-9wq8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tinfoil-factory/netfoil"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-117" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-07T20:04:22Z",
"nvd_published_at" : null
}
}