{"id":"GHSA-84g5-x8j3-7235","aliases":["GO-2026-5240"],"status":"published","title":"Netfoil has incorrect allowlist enforcement","description":"### 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.","severity":{"version":"4.0","score":6.9,"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","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-183","CWE-193"],"published":"2026-04-29T22:22:16Z","modified":"2026-06-25T19:56:39Z","fixes":[{"ecosystem":"Go","package":"github.com/tinfoil-factory/netfoil","fixed_in":["0.2.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/tinfoil-factory/netfoil","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/tinfoil-factory/netfoil","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/tinfoil-factory/netfoil","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.1"}]}]}],"references":[{"url":"https://github.com/tinfoil-factory/netfoil/security/advisories/GHSA-84g5-x8j3-7235","tags":["web","advisory"]},{"url":"https://github.com/tinfoil-factory/netfoil/commit/0ca054acf97b011e4fdd40392475c7786b975ec3","tags":["web","fix"]},{"url":"https://github.com/tinfoil-factory/netfoil/releases/tag/v0.2.1","tags":["web"]},{"url":"https://github.com/advisories/GHSA-84g5-x8j3-7235"},{"url":"https://github.com/tinfoil-factory/netfoil","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-84g5-x8j3-7235","title":"Netfoil has incorrect allowlist enforcement","description":"### 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.","status":"published","published":"2026-04-29T22:22:16Z","modified":"2026-04-29T22:22:17Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"}],"cwes":["CWE-183","CWE-193"],"updated_at":"2026-11-02T14:39:59.776263Z"}],"osv":[{"id":"GHSA-84g5-x8j3-7235","title":"Netfoil has incorrect allowlist enforcement","description":"### 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.","status":"published","published":"2026-04-29T22:22:16Z","modified":"2026-06-25T19:56:39.293501071Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"}],"cwes":["CWE-183","CWE-193"],"updated_at":"2026-11-02T15:46:41.732368Z"},{"id":"GO-2026-5240","title":"Netfoil has incorrect allowlist enforcement in github.com/tinfoil-factory/netfoil","description":"Netfoil has incorrect allowlist enforcement in github.com/tinfoil-factory/netfoil","status":"published","published":"2026-06-25T18:43:15Z","modified":"2026-06-25T19:45:21.499156529Z","updated_at":"2026-11-02T15:47:02.556545Z"}]}}
