Dragonfly allows arbitrary file read and write on a peer machine
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 gRPC API and HTTP APIs allow peers to send requests that force the recipient peer to create files in arbitrary file system locations, and to read arbitrary files. This allows peers to steal other peers’ secret data and to gain remote code execution (RCE) capabilities on the peer’s machine.This vulnerability is fixed in 2.1.0.
From the CVE record · GitHub_M
Before 2.1.0, Dragonfly’s gRPC and HTTP APIs allow a peer to make another peer create files in arbitrary locations or read arbitrary files. A peer that can send these requests can steal secrets or gain remote code execution on the recipient’s machine.
Engineers running dragonflyoss Dragonfly or using the Go packages github.com/dragonflyoss/dragonfly and d7y.io/dragonfly/v2 before 2.1.0 should check their deployments.