tinfoil-factory/netfoil · Security
Netfoil has incorrect allowlist enforcement
- GHSA ID
- GHSA-84g5-x8j3-7235
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.9 · 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
Description
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.
CWEs
- CWE-183 · Permissive List of Allowed Inputs
- CWE-193 · Off-by-one Error