{"id":"CVE-2025-59348","published":"2025-09-17T19:30:22Z","modified":"2025-09-17T19:45:03Z","title":"Dragonfly incorrectly handles a task structure’s usedTraffic field","vendor":"dragonflyoss","product":"dragonfly","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00358,"percentile":0.30331,"provenance":"source"},"cwes":[{"id":"CWE-457","name":"Use of Uninitialized Variable"}],"references":[{"url":"https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-2qgr-gfvj-qpcr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf","tags":["x_refsource_MISC"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":6.07},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"dragonflyoss","affectedVersions":[{"vendor":"dragonflyoss","product":"dragonfly","versions":["< 2.1.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-09-17T19:44:51.177964Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/dragonflyoss/dragonfly","vulnerableRanges":["<2.1.0","all versions"],"patched":["2.1.0"],"from":["GHSA-2qgr-gfvj-qpcr","GO-2025-3963"],"provenance":"source"},{"ecosystem":"Go","package":"d7y.io/dragonfly/v2","vulnerableRanges":["<2.1.0"],"patched":["2.1.0"],"from":["GHSA-2qgr-gfvj-qpcr","GO-2025-3963"],"provenance":"source"}],"summary":{"text":"Dragonfly, an open source P2P file distribution and image acceleration system, has a flaw in its processPieceFromSource method: an uninitialized variable is used as the guard for the AddTraffic call instead of the result size, so a task's usedTraffic field is not updated during processing. Because rate limiting is therefore applied incorrectly, an attacker with network access and no authentication or user interaction can cause a denial-of-service condition on the peer that processes the task.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:50Z"},"euvd":{"id":"EUVD-2025-29770","exploited":false,"provenance":"source"}}