Skip to content
OpenAdvisories
Medium · 5.5 CVE-2025-59348 EUVD-2025-29770GHSA-2qgr-gfvj-qpcrGO-2025-3963

Dragonfly incorrectly handles a task structure’s usedTraffic field

Published Sep 17, 2025 · Updated Sep 17, 2025 · Assigned by GitHub_M

Description

Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the processPieceFromSource method does not update the structure’s usedTraffic field, because an uninitialized variable n is used as a guard to the AddTraffic method call, instead of the result.Size variable. A task is processed by a peer. The usedTraffic metadata is not updated during the processing. Rate limiting is incorrectly applied, leading to a denial-of-service condition for the peer. This vulnerability is fixed in 2.1.0.

Affected products

VendorProductAffectedFixed
dragonflyoss dragonfly < 2.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20251023T162509-150000.1.110.1 SUSE-SU-2025:3799-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250924T192141-1.1 openSUSE-SU-2025:15576-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20251023T162509-150000.1.110.1 SUSE-SU-2025:3799-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go d7y.io/dragonfly/v2 < 2.1.0 2.1.0 GHSA-2qgr-gfvj-qpcr
Go github.com/dragonflyoss/dragonfly < 2.1.0 2.1.0 GHSA-2qgr-gfvj-qpcr
Go github.com/dragonflyoss/dragonfly all versions — GO-2025-3963

Advisories 3

References