Dragonfly has weak integrity checks for downloaded files
dragonflyoss dragonfly
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/dragonflyoss/dragonfly Go |
|
|
| d7y.io/dragonfly/v2 Go |
|
|
dragonflyoss dragonfly
| Product | Affected | Fixed in |
|---|---|---|
| github.com/dragonflyoss/dragonfly Go |
|
|
| d7y.io/dragonfly/v2 Go |
|
|
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.
From the CVE record · GitHub_M
Before 2.1.0, DragonFly2 uses MD5 among its hash functions for downloaded files. An attacker can replace a downloaded file with a malicious one that has a colliding hash. The input does not specify access requirements or whether user interaction is needed.
Teams using Go packages github.com/dragonflyoss/dragonfly or d7y.io/dragonfly/v2 should check installations below 2.1.0.