GitHub Advisoryadvisory · Go
GHSA-m5m3-46gj-wch8 SIF's Digital Signature Hash Algorithms Not Validated
MEDIUM
Official page ↗
- Aliases
- CVE-2022-39237
- Ecosystem
- Go
- Packages
- github.com/sylabs/sif/v2
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-327, CWE-347
- Reviewed
- 2022-10-06
Affected packages
• Go github.com/sylabs/sif/v2: < 2.8.1 → fixed in 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 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 [email protected]
Related
Alias · CVE (1)
- CVE-2022-39237 syslabs/sif is the Singularity Image Format (SIF) reference implementation. vulnerability
References
- https://github.com/sylabs/sif/security/advisories/GHSA-m5m3-46gj-wch8 web
- https://nvd.nist.gov/vuln/detail/CVE-2022-39237 advisory
- https://github.com/sylabs/sif/commit/07fb86029a12e3210f6131e065570124605daeaa web
- https://github.com/sylabs/sif package
- https://github.com/sylabs/sif/releases/tag/v2.8.1 web
- https://nvd.nist.gov/vuln/detail/cve-2004-2761 advisory
- https://nvd.nist.gov/vuln/detail/cve-2005-4900 advisory
- https://pkg.go.dev/vuln/GO-2022-1045 web
- https://security.gentoo.org/glsa/202210-19 web