Skip to content

Digital Signature Hash Algorithms Not Validated

Low
tri-adam published GHSA-m5m3-46gj-wch8 Oct 6, 2022

Package

gomod github.com/sylabs/sif/v2 (Go)

Affected versions

<= 2.8.0

Patched versions

2.8.1

Description

Impact

The github.com/sylabs/sif/v2/pkg/integrity package does not verify that the hash algorithm(s) used are cryptographically secure when verifying digital signatures.

Patches

A patch is available in version >= v2.8.1 of the module. Users are encouraged to upgrade.

The patch is commit 07fb860

Workarounds

Users may independently validate that the hash algorithm(s) used for metadata digest(s) and signature hash are cryptographically secure.

References

For more information

If you have any questions or comments about this advisory:

Severity

Low
2.3
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
High
Privileges required
High
User interaction
Required
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:N/I:L/A:N

CVE ID

CVE-2022-39237

Weaknesses

Credits