Skip to content
Heist/ feed
Back to feed
Medium

Dragonfly has weak integrity checks for downloaded files

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-59354
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 15:32 UTC · Revision 1

Source evidence

Dragonfly has weak integrity checks for downloaded files

core-osv · Original source

Published 17 Sept 2025, 19:57 UTC

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.

osv:CVE-2025-59354
Complete source record
{
  "id": "0970d5120527fbdbcaa7f219831e36688a2d7feea8915e4d6eef6a3d56ede701",
  "url": "https://osv.dev/vulnerability/CVE-2025-59354",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Dragonfly has weak integrity checks for downloaded files",
    "summary": "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.",
    "evidence": "osv:CVE-2025-59354",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-59354",
      "aliases": [
        "CVE-2025-59354",
        "GHSA-hx2h-vjw2-8r54",
        "GO-2025-3973"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dragonflyoss/dragonfly",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8f6f20b604bb540c39db5fb7020926e6db2dd9c8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.1.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:dragonfly:*:*:*:*:*:go:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.1.0-rc.0",
            "v2.1.0-beta.4",
            "v2.1.0-beta.3",
            "v2.1.0-beta.2",
            "v2.1.0-beta.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59354.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:20.548130724Z",
      "provider": "osv",
      "references": [
        "https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59354.json",
        "https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-hx2h-vjw2-8r54",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-59354"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-328"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59354.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-59354",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 486568,
  "published_at": "2025-09-17T19:57:07.374+00:00"
}