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
- 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 [WEB]
- https://github.com/tinfoil-factory/netfoil [PACKAGE]
- https://github.com/tinfoil-factory/netfoil/releases/tag/v0.5.0 [WEB]