GHSA-vjgj-42f6-7997: Github.com/tinfoil factory/netfoil Netfoil's Optional Seccomp Sandboxing Was Vulnerability

MODERATE
CWE-791
Published
Advisory Summary

GHSA-vjgj-42f6-7997 is a MODERATE netfoil's optional seccomp sandboxing was vulnerability (CWE-791: Incomplete Filtering of Special Elements) affecting Github.com/tinfoil factory/netfoil libraries in the Go ecosystem. The issue involves netfoil's optional seccomp sandboxing was not applied. Remediation is available by upgrading affected packages to version 0.2.1.

GHSA-vjgj-42f6-7997 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-vjgj-42f6-7997
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-791: Incomplete Filtering of Special Elements
Affected Product Github.com/tinfoil factory/netfoil
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-vjgj-42f6-7997

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.2.1
Upgrade github.com/tinfoil-factory/netfoil to 0.2.1
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-vjgj-42f6-7997, 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.2.1), 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-791: Incomplete Filtering of Special Elements, where the product receives data from an upstream component, but does not completely filter special elements before sending it to a downstream component. 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 The optional flag `--filter-system-calls` was not applied even if specified. ### Details This is a defense in depth feature to apply additional seccomp filters after the binary has started. The example config also sandboxes the binary with systemd. ### Impact Reduced sandboxing of the netfoil binary.

GHSA-vjgj-42f6-7997 Affected Github.com/tinfoil factory/netfoil Versions

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

References

Frequently Asked Questions

What is GHSA-vjgj-42f6-7997?
GHSA-vjgj-42f6-7997 is a security vulnerability in Github.com/tinfoil factory/netfoil involving netfoil's optional seccomp sandboxing was not applied under CWE-791: Incomplete Filtering of Special Elements.
Which Github.com/tinfoil factory/netfoil versions are affected?
Affected versions include releases prior to 0.2.1 across affected packages: github.com/tinfoil-factory/netfoil.
What version fixes GHSA-vjgj-42f6-7997?
Upgrading to 0.2.1 (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.2.1. Upgrade your dependency to 0.2.1 or later.
What CWE is associated with GHSA-vjgj-42f6-7997?
GHSA-vjgj-42f6-7997 is classified under CWE-791: Incomplete Filtering of Special Elements (The product receives data from an upstream component, but does not completely filter special elements before sending it to a downstream component.).
How can I check Go dependencies for GHSA-vjgj-42f6-7997?
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-vjgj-42f6-7997",
  "modified" : "2026-04-29T22:23:41Z",
  "published" : "2026-04-29T22:23:41Z",
  "aliases" : [ ],
  "summary" : "netfoil's optional seccomp sandboxing was not applied",
  "details" : "### Summary\nThe optional flag `--filter-system-calls` was not applied even if specified.\n\n### Details\nThis is a defense in depth feature to apply additional seccomp filters after the binary has started. The example config also sandboxes the binary with systemd.\n\n### Impact\nReduced sandboxing of the netfoil binary.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/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.2.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/tinfoil-factory/netfoil/security/advisories/GHSA-vjgj-42f6-7997"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tinfoil-factory/netfoil/commit/8c84f1b03adf1df5b4e6d07a49043d13dbbf9ee1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/tinfoil-factory/netfoil"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tinfoil-factory/netfoil/releases/tag/v0.2.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-791" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-29T22:23:41Z",
    "nvd_published_at" : null
  }
}