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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/tinfoil-factory/netfoil | < 0.4.0 | 0.4.0 | GHSA-xvg2-cgv6-6h7v |
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