tinfoil-factory/netfoil · Security
netfoil vulnerable to improper handling of untrusted DoH response data
- GHSA ID
- GHSA-4ph6-mjv7-3fq6
- Severity
- low
- Published
- Updated
- CVSS v4
- 2.7 · 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
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.
CWEs
- CWE-117 · Improper Output Neutralization for Logs
References
- https://github.com/tinfoil-factory/netfoil/security/advisories/GHSA-4ph6-mjv7-3fq6 ↗
- https://github.com/tinfoil-factory/netfoil/commit/58cfb0cb16b824e02bf53c2d67707e5e4bd9f59b ↗
- https://github.com/tinfoil-factory/netfoil/commit/817f664c61aa64cbe0dbfcdfc05c16602b422e5b ↗
- https://github.com/tinfoil-factory/netfoil/releases/tag/v0.5.0 ↗
- https://github.com/advisories/GHSA-4ph6-mjv7-3fq6 ↗