VDB
KO
LOW

GHSA-4ph6-mjv7-3fq6

netfoil vulnerable to improper handling of untrusted DoH response data

Quick fix

GHSA-4ph6-mjv7-3fq6 — github.com/tinfoil-factory/netfoil: upgrade to the fixed version with the command below.

go get github.com/tinfoil-factory/netfoil@v0.5.0

Details

### 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/tinfoil-factory/netfoil
Introduced in: 0 Fixed in: 0.5.0
Fix go get github.com/tinfoil-factory/netfoil@v0.5.0

References