CVE-2025-59348
MEDIUM 5.5CVSS 4.0Dragonfly incorrectly handles a task structure’s usedTrac field
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.
- Published
- 17 Sep 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-457
- Also known as
- GHSA-2qgr-gfvj-qpcrGO-2025-3963
- Sources
- NVDJSONOSV GHSA-2qgr-gfvj-qpcrJSONOSV GO-2025-3963JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.5 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | dragonflycpe:2.3:a:linuxfoundation:dragonfly:*:*:*:*:*:go:*:* |
< 2.1.0 | 2.1.0 |
| OSV | Go | github.com/dragonflyoss/dragonfly | < 2.1.0 | 2.1.0 |
| OSV | Go | d7y.io/dragonfly/v2 | < 2.1.0 | 2.1.0 |
| OSV | Go | github.com/dragonflyoss/dragonfly | all versions |
References
- https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf · Product, WEB
- https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-2qgr-gfvj-qpcr · Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-59348 · ADVISORY
- https://github.com/dragonflyoss/dragonfly · PACKAGE
- https://pkg.go.dev/vuln/GO-2025-3963 · WEB
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 17 Sep 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Sep 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Sep 2025)