Vulnerability · Published Sep 17, 2025 · Assigned by GitHub_M
CVE-2025-59354Dragonfly has weak integrity checks for downloaded files
Medium 5.5
In plain English
A medium-severity security flaw in dragonfly from dragonflyoss. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the DragonFly2 uses a variety of hash functions, including the MD5 hash, for downloaded files. This allows attackers to replace files with malicious ones that have a colliding hash. This vulnerability is fixed in 2.1.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | d7y.io/dragonfly/v2 | 2.1.0 | GHSA-hx2h-vjw2-8r54 |
| Go | d7y.io/dragonfly/v2 | 2.1.0 | GO-2025-3973 |
| Go | github.com/dragonflyoss/dragonfly | 2.1.0 | GHSA-hx2h-vjw2-8r54 |
| Go | github.com/dragonflyoss/dragonfly | no fix listed | GO-2025-3973 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| dragonflyoss | dragonfly | < 2.1.0 |
Weakness: CWE-328 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P