Use of Uninitialized Variable Affecting github.com/dragonflyoss/dragonfly/client/daemon/peer package, versions <2.1.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (17th percentile)

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-GITHUBCOMDRAGONFLYOSSDRAGONFLYCLIENTDAEMONPEER-12927324
  • published19 Sept 2025
  • disclosed17 Sept 2025
  • creditPaweÅ‚ PÅ‚atek, Sam Alws

Introduced: 17 Sep 2025

NewCVE-2025-59348  (opens in a new tab)
CWE-457  (opens in a new tab)

How to fix?

Upgrade github.com/dragonflyoss/dragonfly/client/daemon/peer to version 2.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Use of Uninitialized Variable due to improper handling of the usedTraffic field in the processPieceFromSource method. An attacker can cause service disruption for a peer by exploiting incorrect rate limiting during task processing.

CVSS Base Scores

version 4.0
version 3.1