Moderate severityNVD Advisory· Published Sep 17, 2025· Updated Sep 17, 2025
Dragonfly incorrectly handles a task structure’s usedTraffic field
CVE-2025-59348
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/dragonflyoss/dragonflyGo | < 2.1.0 | 2.1.0 |
d7y.io/dragonfly/v2Go | < 2.1.0 | 2.1.0 |
Affected products
6- ghsa-coords5 versionspkg:golang/d7y.io/dragonfly/v2pkg:golang/github.com/dragonflyoss/dragonflypkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweedpkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6
< 2.1.0+ 4 more
- (no CPE)range: < 2.1.0
- (no CPE)range: < 2.1.0
- (no CPE)range: < 0.0.20251023T162509-150000.1.110.1
- (no CPE)range: < 0.0.20250924T192141-1.1
- (no CPE)range: < 0.0.20251023T162509-150000.1.110.1
- Range: < 2.1.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-2qgr-gfvj-qpcrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-59348ghsaADVISORY
- github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdfghsax_refsource_MISCWEB
- github.com/dragonflyoss/dragonfly/security/advisories/GHSA-2qgr-gfvj-qpcrghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2025-3963ghsaWEB
News mentions
0No linked articles in our index yet.