low2.7No CVE yet
GHSA-4ph6-mjv7-3fq6
netfoil vulnerable to improper handling of untrusted DoH response data
Impact
### Summary HTTPS RR data returned from the DoH server was not properly handled. Unverified APLN data (which could contain arbitrary byte sequences) was written directly to the log. It could also cause unnecessary memory usage. The single-byte response code was also written directly to the log.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/tinfoil-factory/netfoil | < 0.5.0 | 0.5.0 |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-4ph6-mjv7-3fq6
- https://github.com/tinfoil-factory/netfoil/security/advisories/GHSA-4ph6-mjv7-3fq6
- https://github.com/tinfoil-factory/netfoil/commit/58cfb0cb16b824e02bf53c2d67707e5e4bd9f59b
- https://github.com/tinfoil-factory/netfoil/commit/817f664c61aa64cbe0dbfcdfc05c16602b422e5b
- https://github.com/tinfoil-factory/netfoil/releases/tag/v0.5.0