Advisory

GHSA-m5m3-46gj-wch8

Also known as: CVE-2022-39237, GO-2022-1045

Summary

SIF's Digital Signature Hash Algorithms Not Validated

Details

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 https://github.com/sylabs/sif/commit/07fb86029a12e3210f6131e065570124605daeaa

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-10-06 19:54 UTC
Modified
2023-11-08 04:10 UTC

Affected packages and fixes

github.com/sylabs/sif/v2

Go · All systems

Affected

  • introduced 0, fixed 2.8.1 (semver)

Fixed versions

2.8.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences