Skip to content
OpenAdvisories

Package · Go

github.com/dragonflyoss/dragonfly

11 known vulnerabilities.

11 results · Feed

  • Medium 5.5

    Dragonfly tiny file download uses hard coded HTTP protocol

    Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the code in the scheduler for downloading a tiny file is hard coded to use the HTTP protocol, rather than HTTPS. This means that an attacker could perform a…

  • Medium 5.5

    Dragonfly has weak integrity checks for downloaded files

    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 th…

  • High 7.7

    Manager generates mTLS certificates for arbitrary IP addresses

    Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, a peer can obtain a valid TLS certificate for arbitrary IP addresses, effectively rendering the mTLS authentication useless. The issue is that the Manager’s…

  • Medium 6.9

    Dragonfly allows arbitrary file read and write on a peer machine

    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 arbitr…

  • Low 2.7

    Dragonfly possibly panics due to nil pointer dereference when using variables created alongside an error

    Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the first return value of a function is dereferenced even when the function returns an error. This can result in a nil dereference, and cause code to panic.…

  • Low 2.7

    Timing attacks against Proxy’s basic authentication are possible

    Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the access control mechanism for the Proxy feature uses simple string comparisons and is therefore vulnerable to timing attacks. An attacker may try to gues…

  • Low 2.0

    Directories created via os.MkdirAll are not checked for permissions

    Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, DragonFly2 uses the os.MkdirAll function to create certain directory paths with specific access permissions. This function does not perform any permission c…

  • Medium 5.5

    Dragonfly incorrectly handles a task structure’s usedTraffic field

    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 AddTraffi…

  • Low 2.7

    Dragonfly Manager makes requests to external endpoints with disabled TLS authentication

    Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, The Manager disables TLS certificate verification in HTTP clients. The clients are not configurable, so users have no way to re-enable the verification. A M…

  • Medium 5.5

    Dragonfly server-side request forgery vulnerability

    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…

  • High 7.7

    Dragonfly did not enable authentication for some Manager’s endpoints

    Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, The /api/v1/jobs and /preheats endpoints in Manager web UI are accessible without authentication. Any user with network access to the Manager can create, de…