{"schema_version":"1.9.0","id":"CVE-2025-59348","published":"2025-09-17T19:30:22.841Z","modified":"2026-08-12T03:51:27.504557660Z","aliases":["GHSA-2qgr-gfvj-qpcr","GO-2025-3963"],"related":["SUSE-SU-2025:3799-1","openSUSE-SU-2025:15576-1","openSUSE-SU-2026:21483-1"],"summary":"Dragonfly incorrectly handles a task structure’s usedTraffic field","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dragonflyoss/dragonfly","events":[{"introduced":"0"},{"fixed":"8f6f20b604bb540c39db5fb7020926e6db2dd9c8"}],"database_specific":{"cpe":"cpe:2.3:a:linuxfoundation:dragonfly:*:*:*:*:*:go:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.1.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"versions":["v2.1.0-rc.0","v2.1.0-beta.4","v2.1.0-beta.3","v2.1.0-beta.2","v2.1.0-beta.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59348.json"}}],"references":[{"type":"WEB","url":"https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59348.json"},{"type":"ADVISORY","url":"https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-2qgr-gfvj-qpcr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59348"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-457"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59348.json"},"severity":[{"type":"CVSS_V4","score":"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"}]}