GitHub Advisoryadvisory · Go
GHSA-xvg2-cgv6-6h7v netfoil: Incorrect block responses could lead to localhost traffic
HIGH
Official page ↗
- Ecosystem
- Go
- Packages
- github.com/tinfoil-factory/netfoil
- Severity
- High
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- CWE-693
- Reviewed
- 2026-07-29
Affected packages
• Go github.com/tinfoil-factory/netfoil: < 0.4.0 → fixed in 0.4.0
Description
Summary
`0.0.0.0` was used instead of NXDOMAIN for block responses. On Linux, which is the target platform for netfoil, the `0.0.0.0` is sent to localhost rather than just dropped.
Impact
Unintended traffic could be sent to localhost. Impact depends on running services and firewall rules.
Related
Weakness · CWE (1)
- CWE-693 Protection Mechanism Failure weakness
References
- https://github.com/tinfoil-factory/netfoil/security/advisories/GHSA-xvg2-cgv6-6h7v web
- https://github.com/tinfoil-factory/netfoil/pull/33 web
- https://github.com/tinfoil-factory/netfoil/commit/891d3513c77999a9deef9f23506807d9653ee448 web
- https://github.com/tinfoil-factory/netfoil package
- https://github.com/tinfoil-factory/netfoil/releases/tag/v0.4.0 web