Missing Release of Resource after Effective Lifetime Affecting github.com/agntcy/dir/mcp/tools package, versions <0.5.0-rc.2


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-GITHUBCOMAGNTCYDIRMCPTOOLS-14157705
  • published18 Dec 2025
  • disclosed2 Dec 2025
  • creditUnknown

Introduced: 2 Dec 2025

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

How to fix?

Upgrade github.com/agntcy/dir/mcp/tools to version 0.5.0-rc.2 or higher.

Overview

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime via resource exhaustion caused by improper cleanup of long-lived resources. Several components fail to correctly close or release gRPC connections, SPIFFE sources, and streaming goroutines, leading to file descriptor leaks, goroutine accumulation, and unbounded memory growth. An attacker can trigger these leaks over time, eventually exhausting system resources and causing application crashes or service unavailability.

CVSS Base Scores

version 4.0
version 3.1