{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-59348","id":"CVE-2025-59348","title":"Dragonfly incorrectly handles a task structure’s usedTraffic field","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 process","descriptionLong":"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":"2025-09-17T19:30:22.841Z","updated":"2026-10-28T02:30:55.566194227Z","reserved":"2025-09-12T12:36:24.637Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":5.5,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":5.5,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":5.5,"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/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","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"}],"rating":"medium","products":["dragonflyoss dragonfly"],"affectedProducts":[{"vendor":"dragonflyoss","product":"dragonfly","defaultStatus":null,"versions":[{"version":"< 2.1.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/dragonflyoss/dragonfly","purl":"pkg:golang/github.com/dragonflyoss/dragonfly","ranges":["<2.1.0","all versions"],"fixed":["2.1.0"],"advisory":"GHSA-2qgr-gfvj-qpcr"},{"ecosystem":"Go","name":"d7y.io/dragonfly/v2","purl":"pkg:golang/d7y.io/dragonfly/v2","ranges":["<2.1.0"],"fixed":["2.1.0"],"advisory":"GHSA-2qgr-gfvj-qpcr"}],"cwes":["CWE-457"],"aliases":["GHSA-2qgr-gfvj-qpcr","GO-2025-3963"],"references":[{"url":"https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-2qgr-gfvj-qpcr","tags":["x_refsource_CONFIRM","Patch","Third Party Advisory","advisory","web"]},{"url":"https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf","tags":["x_refsource_MISC","Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59348.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59348","tags":["advisory"]},{"url":"https://github.com/dragonflyoss/dragonfly","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3963","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00358,"epssPercentile":0.30191,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-59348","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59348","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-59348","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2qgr-gfvj-qpcr","ok":true,"note":"GHSA-2qgr-gfvj-qpcr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-59348","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}