Use of Weak Hash Affecting d7y.io/dragonfly/v2/pkg/digest package, versions <2.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of Weak Hash vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-D7YIODRAGONFLYV2PKGDIGEST-12932464
  • published19 Sept 2025
  • disclosed17 Sept 2025
  • creditPaweÅ‚ PÅ‚atek, Sam Alws

Introduced: 17 Sep 2025

NewCVE-2025-59354  (opens in a new tab)
CWE-328  (opens in a new tab)

How to fix?

Upgrade d7y.io/dragonfly/v2/pkg/digest to version 2.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Use of Weak Hash like the Md5 hash. An attacker can bypass file integrity verification by generating files with colliding MD5 hashes and distributing malicious content that passes integrity checks.

CVSS Base Scores

version 4.0
version 3.1