{"id":"GHSA-84g5-x8j3-7235","aliases":["GHSA-84g5-x8j3-7235","GO-2026-5240"],"related":[],"kind":"vulnerability","state":"published","title":"Netfoil has incorrect allowlist enforcement","summary":"### Summary\nRules could be bypassed by changing the first character: `example.com` could be be bypassed by e.g. `fxample.com`.\n\n### Details\nOff-by-one error in the suffixtrie implementation.\n\n### Impact\nThe domain filter could be bypassed. Please note that DNS filtering alone is not enough to block malicious traffic.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Summary\nRules could be bypassed by changing the first character: `example.com` could be be bypassed by e.g. `fxample.com`.\n\n### Details\nOff-by-one error in the suffixtrie implementation.\n\n### Impact\nThe domain filter could be bypassed. Please note that DNS filtering alone is not enough to block malicious traffic.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Netfoil has incorrect allowlist enforcement in github.com/tinfoil-factory/netfoil","format":"markdown","source":"go"}],"published":"2026-04-29T22:22:16.000Z","modified":"2026-06-25T19:56:39.293Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-183","CWE-193"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.1"}],"ecosystem":"Go","package":"github.com/tinfoil-factory/netfoil","purl":"pkg:golang/github.com/tinfoil-factory/netfoil","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.1"}],"ecosystem":"Go","package":"github.com/tinfoil-factory/netfoil","purl":"pkg:golang/github.com/tinfoil-factory/netfoil","source":"go"}],"references":[{"url":"https://github.com/tinfoil-factory/netfoil/security/advisories/GHSA-84g5-x8j3-7235","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/tinfoil-factory/netfoil/commit/0ca054acf97b011e4fdd40392475c7786b975ec3","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/tinfoil-factory/netfoil","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/tinfoil-factory/netfoil/releases/tag/v0.2.1","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-84g5-x8j3-7235","url":"https://github.com/advisories/GHSA-84g5-x8j3-7235","licence":"CC-BY-4.0","modified":"2026-06-25T19:56:39.293Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5240","url":"https://pkg.go.dev/vuln/GO-2026-5240","licence":"CC-BY-4.0","modified":"2026-06-25T19:45:21.499Z"}],"updatedAt":"2026-11-25T22:56:24.744Z"}