GHSA-4ph6-mjv7-3fq6 json
netfoil vulnerable to improper handling of untrusted DoH response data
published 2mo ago modified 2mo ago also GO-2026-6277
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
### 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.
Patch / fix
- go github.com/tinfoil-factory/netfoil 0.5.0
Is GHSA-4ph6-mjv7-3fq6 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/tinfoil-factory/netfoil | <0.5.0 |
0.5.0 |
Classification
- Weakness
-
- CWE-117 Improper Output Neutralization for Logs
References
-
github.com
/tinfoil-factory/netfoil/commit/58cfb0cb16b824e02bf53c2d67707e5e4bd9f59b
web, patch
-
github.com
/tinfoil-factory/netfoil/commit/817f664c61aa64cbe0dbfcdfc05c16602b422e5b
web, patch
-
github.com
/tinfoil-factory/netfoil/security/advisories/GHSA-4ph6-mjv7-3fq6
web, advisory
-
github.com
/tinfoil-factory/netfoil
package
-
github.com
/tinfoil-factory/netfoil/releases/tag/v0.5.0
web
Sources
- GitHub Advisory GHSA-4ph6-mjv7-3fq6
- OSV GO-2026-6277
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.