UNKNOWN Go
netfoil vulnerable to improper handling of untrusted DoH response data
GHSA-4ph6-mjv7-3fq6 · GO-2026-6277
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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.
References
- WEB https://github.com/tinfoil-factory/netfoil/security/advisories/GHSA-4ph6-mjv7-3fq6
- WEB https://github.com/tinfoil-factory/netfoil/commit/58cfb0cb16b824e02bf53c2d67707e5e4bd9f59b
- WEB https://github.com/tinfoil-factory/netfoil/commit/817f664c61aa64cbe0dbfcdfc05c16602b422e5b
- PACKAGE https://github.com/tinfoil-factory/netfoil
- WEB https://github.com/tinfoil-factory/netfoil/releases/tag/v0.5.0
Ready to move
Start Securing
Free, no credit card | First findings in minutes