Off-by-one Error Affecting github.com/tinfoil-factory/netfoil/suffixtrie package, versions <0.2.1


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-GITHUBCOMTINFOILFACTORYNETFOILSUFFIXTRIE-16416369
  • published4 May 2026
  • disclosed29 Apr 2026
  • creditUnknown

Introduced: 29 Apr 2026

CVE NOT AVAILABLE CWE-183  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade github.com/tinfoil-factory/netfoil/suffixtrie to version 0.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Off-by-one Error in the suffixtrie process. An attacker can bypass domain filtering by altering the first character of a domain name, allowing unauthorized access to restricted domains.

CVSS Base Scores

version 4.0
version 3.1