Medium, CVSS 6.3GoPublished
SIF's Digital Signature Hash Algorithms Not Validated
CVE-2022-39237 · GHSA-m5m3-46gj-wch8
- Affected
- Go github.com/sylabs/sif/v2 < 2.8.1
- Fixed in
- 2.8.1· Vendor fix available
- Issue
- 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 CVE-2004-2761 CVE-2005-4900 For more information If you have any questions or comments about this advisory: Open an issue in github.com/sylabs/sif Email us at security@sylabs.io
Recommended action: Upgrade to 2.8.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.