CVE-2025-59348

Dragonfly incorrectly handles a task structure’s usedTraffic field

State
Published
Severity
5.5 Medium
Published
Sep 17, 2025
Updated
Sep 17, 2025
Reserved
Sep 12, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.5 MediumCVSS: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:PGitHub_M

Weaknesses

  • CWE-457 Use of Uninitialized Variable

Affected Products

ProductVersions
dragonflydragonflyoss
  • < 2.1.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.