Protection Mechanism Failure Affecting github.com/tinfoil-factory/netfoil/dns package, versions <0.3.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMTINFOILFACTORYNETFOILDNS-17895079
  • published8 Jul 2026
  • disclosed7 Jul 2026
  • creditUnknown

Introduced: 7 Jul 2026

CVE NOT AVAILABLE CWE-436  (opens in a new tab)
CWE-693  (opens in a new tab)

How to fix?

Upgrade github.com/tinfoil-factory/netfoil/dns to version 0.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Protection Mechanism Failure in the DNS request handling process. An attacker can bypass domain name filtering by crafting a DNS request containing multiple questions, where the first question appears legitimate but subsequent questions are used to evade the filter. This is only exploitable if the remote DoH server supports multiple questions in a single DNS request and the attacker can craft such requests locally.

CVSS Base Scores

version 4.0
version 3.1