CVE-2025-59346 Dragonfly server-side request forgery vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
Dragonfly is an open source P2P-based file distribution and image acceleration system. Versions prior to 2.1.0 contain a server-side request forgery (SSRF) vulnerability that enables users to force DragonFly2’s components to make requests to internal services that are otherwise not accessible to them. The issue arises because the Manager API accepts a user-supplied URL when creating a Preheat job with weak validation, peers can trigger other peers to fetch an arbitrary URL through pieceManager.DownloadSource, and internal HTTP clients follow redirects, allowing a request to a malicious server to be redirected to internal services. This can be used to probe or access internal HTTP endpoints. The vulnerability is fixed in version 2.1.0.
Upgrade path
4 packages: 2 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| dragonflyoss dragonfly(Go) | < 2.1.0; All versions | 2.1.0 | Partially fixed |
| d7y.io/dragonfly/v2(Go) | < 2.1.0 | 2.1.0 | Fixed |
| linuxfoundation dragonfly | < 2.1.0 | 2.1.0 | Fixed |
| dragonflyoss dragonfly | = < 2.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dragonflyoss dragonfly(Go) | < 2.1.0 | 2.1.0 |
| d7y.io/dragonfly/v2(Go) | < 2.1.0 | 2.1.0 |
| dragonflyoss dragonfly(Go) | All versions | No fix listed |
| dragonflyoss dragonfly | = < 2.1.0 | No fix listed |
| linuxfoundation dragonfly | < 2.1.0 | 2.1.0 |
References
- https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-g2rq-jv54-wcpr patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf product
- pkg.go.dev
- github.com