Use of Weak Hash Affecting github.com/sylabs/sif/v2/pkg/integrity package, versions <2.8.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.21% (60th 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-GITHUBCOMSYLABSSIFV2PKGINTEGRITY-3040878
  • published7 Oct 2022
  • disclosed6 Oct 2022
  • creditUnknown

Introduced: 6 Oct 2022

CVE-2022-39237  (opens in a new tab)
CWE-328  (opens in a new tab)

How to fix?

Upgrade github.com/sylabs/sif/v2/pkg/integrity to version 2.8.1 or higher.

Overview

Affected versions of this package are vulnerable to Use of Weak Hash due to not verifying that the used hash algorithm(s) are cryptographically secure when verifying digital signatures.

Workaround

Users who are unable to upgrade to the fixed version can independently validate that the hash algorithm(s) used for metadata digest(s) and signature hash are cryptographically secure.

CVSS Scores

version 3.1