GHSA-84g5-x8j3-7235

Suggest an improvement
Source
https://github.com/advisories/GHSA-84g5-x8j3-7235
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-84g5-x8j3-7235/GHSA-84g5-x8j3-7235.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-84g5-x8j3-7235
Aliases
Published
2026-04-29T22:22:16Z
Modified
2026-06-25T19:56:39Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Netfoil has incorrect allowlist enforcement
Details

Summary

Rules could be bypassed by changing the first character: example.com could be be bypassed by e.g. fxample.com.

Details

Off-by-one error in the suffixtrie implementation.

Impact

The domain filter could be bypassed. Please note that DNS filtering alone is not enough to block malicious traffic.

Database specific
{
    "cwe_ids":  [
        "CWE-183",
        "CWE-193"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-04-29T22:22:16Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

Go / github.com/tinfoil-factory/netfoil

Package

Name
github.com/tinfoil-factory/netfoil
View open source insights on deps.dev
Purl
pkg:golang/github.com/tinfoil-factory/netfoil

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-84g5-x8j3-7235/GHSA-84g5-x8j3-7235.json"