CVE-2025-59348 Dragonfly incorrectly handles a task structure’s usedTraffic field
MediumCVSS 5.5
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
4 packages: 2 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| dragonflyoss dragonfly(Go) | < 2.1.0; All versions | 2.1.0 | Partially fixed |
| d7y.io/dragonfly/v2(Go) | < 2.1.0 | 2.1.0 | Fixed |
| linuxfoundation dragonfly | < 2.1.0 | 2.1.0 | Fixed |
| dragonflyoss dragonfly | = < 2.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dragonflyoss dragonfly(Go) | < 2.1.0 | 2.1.0 |
| d7y.io/dragonfly/v2(Go) | < 2.1.0 | 2.1.0 |
| dragonflyoss dragonfly(Go) | All versions | No fix listed |
| dragonflyoss dragonfly | = < 2.1.0 | No fix listed |
| linuxfoundation dragonfly | < 2.1.0 | 2.1.0 |
References
- https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-2qgr-gfvj-qpcr patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf product
- pkg.go.dev
- github.com