GitHub Advisoryadvisory · Go

GHSA-4ph6-mjv7-3fq6 netfoil vulnerable to improper handling of untrusted DoH response data

LOW Published 2026-08-24 Modified 2026-08-24 Official page ↗
Ecosystem
Go
Packages
github.com/tinfoil-factory/netfoil
Severity
Low
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U
Weaknesses
CWE-117
Reviewed
2026-08-24

Affected packages

• Go github.com/tinfoil-factory/netfoil: < 0.5.0 → fixed in 0.5.0

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.

Related

Weakness · CWE (1)

  • CWE-117 Improper Output Neutralization for Logs weakness

References