Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/tinfoil-factory/netfoil
  4. ›
  5. GHSA-4ph6-mjv7-3fq6

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

August 24, 2026

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.

References

  • github.com/advisories/GHSA-4ph6-mjv7-3fq6
  • github.com/tinfoil-factory/netfoil/commit/58cfb0cb16b824e02bf53c2d67707e5e4bd9f59b
  • github.com/tinfoil-factory/netfoil/commit/817f664c61aa64cbe0dbfcdfc05c16602b422e5b
  • github.com/tinfoil-factory/netfoil/releases/tag/v0.5.0
  • github.com/tinfoil-factory/netfoil/security/advisories/GHSA-4ph6-mjv7-3fq6

Code Behaviors & Features

Detect and mitigate GHSA-4ph6-mjv7-3fq6 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.5.0

Fixed versions

  • 0.5.0

Solution

Upgrade to version 0.5.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-117: Improper Output Neutralization for Logs

Source file

go/github.com/tinfoil-factory/netfoil/GHSA-4ph6-mjv7-3fq6.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 12 Sep 2026 00:20:21 +0000.