{"schema_version":"1.7.3","id":"GHSA-m5m3-46gj-wch8","published":"2022-10-06T19:54:55Z","modified":"2023-11-08T04:10:16.141610Z","aliases":["CVE-2022-39237","GO-2022-1045"],"summary":"SIF's Digital Signature Hash Algorithms Not Validated","details":"### Impact\n\nThe `github.com/sylabs/sif/v2/pkg/integrity` package does not verify that the hash algorithm(s) used are cryptographically secure when verifying digital signatures.\n\n### Patches\n\nA patch is available in version >= v2.8.1 of the module. Users are encouraged to upgrade.\n\nThe patch is commit https://github.com/sylabs/sif/commit/07fb86029a12e3210f6131e065570124605daeaa\n\n### Workarounds\n\nUsers may independently validate that the hash algorithm(s) used for metadata digest(s) and signature hash are cryptographically secure.\n\n### References\n\n* [CVE-2004-2761](https://nvd.nist.gov/vuln/detail/cve-2004-2761)\n* [CVE-2005-4900](https://nvd.nist.gov/vuln/detail/cve-2005-4900)\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [github.com/sylabs/sif](https://github.com/sylabs/sif/issues/new)\n* Email us at [security@sylabs.io](mailto:security@sylabs.io)","affected":[{"package":{"name":"github.com/sylabs/sif/v2","ecosystem":"Go","purl":"pkg:golang/github.com/sylabs/sif/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.8.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-m5m3-46gj-wch8/GHSA-m5m3-46gj-wch8.json"}}],"references":[{"type":"WEB","url":"https://github.com/sylabs/sif/security/advisories/GHSA-m5m3-46gj-wch8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39237"},{"type":"WEB","url":"https://github.com/sylabs/sif/commit/07fb86029a12e3210f6131e065570124605daeaa"},{"type":"PACKAGE","url":"https://github.com/sylabs/sif"},{"type":"WEB","url":"https://github.com/sylabs/sif/releases/tag/v2.8.1"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/cve-2004-2761"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/cve-2005-4900"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-1045"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202210-19"}],"database_specific":{"cwe_ids":["CWE-327","CWE-347"],"github_reviewed":true,"github_reviewed_at":"2022-10-06T19:54:55Z","nvd_published_at":"2022-10-06T18:16:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"}]}