{"id":"CVE-2022-39237","aliases":["CVE-2022-39237","GHSA-m5m3-46gj-wch8","GO-2022-1045"],"related":[],"kind":"vulnerability","state":"published","title":"Digital Signature Hash Algorithms Not Validated in sylabs/sif","summary":"syslabs/sif is the Singularity Image Format (SIF) reference implementation. In versions prior to 2.8.1the `github.com/sylabs/sif/v2/pkg/integrity` package did not verify that the hash algorithm(s) used are cryptographically secure when verifying digital signatures. A patch is available in version >= v2.8.1 of the module. Users are encouraged to upgrade. Users unable to upgrade may independently validate that the hash algorithm(s) used for metadata digest(s) and signature hash are cryptographically secure.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"syslabs/sif is the Singularity Image Format (SIF) reference implementation. In versions prior to 2.8.1the `github.com/sylabs/sif/v2/pkg/integrity` package did not verify that the hash algorithm(s) used are cryptographically secure when verifying digital signatures. A patch is available in version >= v2.8.1 of the module. Users are encouraged to upgrade. Users unable to upgrade may independently validate that the hash algorithm(s) used for metadata digest(s) and signature hash are cryptographically secure.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"en","text":"The Singularity Image Format (SIF) reference implementation does not verify that the hash algorithm(s) used are cryptographically secure when verifying digital signatures.","format":"markdown","source":"go"},{"lang":"es","text":"syslabs/sif es la implementación de referencia del Formato de Imagen de Singularidad (SIF). En las versiones anteriores a 2.8.1, el paquete \"github.com/sylabs/sif/v2/pkg/integrity\" no verificaba que los algoritmos hash usados fueran criptográficamente seguros cuando eran verificadas las firmas digitales. Se presenta un parche disponible en versiones posteriores a v2.8.1 incluyéndola, del módulo. Es recomendado a usuarios actualizar. Los usuarios que no puedan actualizarse pueden comprobar de forma independiente que los algoritmos de hash usados para el resumen de metadatos y el hash de la firma son criptográficamente seguros","source":"nvd"}],"published":"2022-10-06T00:00:00.000Z","modified":"2026-06-17T04:57:58.343Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-327","CWE-347"],"affected":[{"ranges":[{"version":"< 2.8.1","status":"affected"}],"vendor":"sylabs","product":"sif","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.8.1"}],"ecosystem":"Go","package":"github.com/sylabs/sif/v2","purl":"pkg:golang/github.com/sylabs/sif/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.8.1"}],"ecosystem":"Go","package":"github.com/sylabs/sif/v2","purl":"pkg:golang/github.com/sylabs/sif/v2","source":"go"},{"ranges":[{"status":"affected","fixed":"2.8.1"}],"vendor":"sylabs","product":"singularity_image_format","cpe":"cpe:2.3:a:sylabs:singularity_image_format:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sylabs/sif/security/advisories/GHSA-m5m3-46gj-wch8","tags":["advisory","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/sylabs/sif/commit/07fb86029a12e3210f6131e065570124605daeaa","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://security.gentoo.org/glsa/202210-19","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39237","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sylabs/sif","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/sylabs/sif/releases/tag/v2.8.1","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/cve-2004-2761","tags":["advisory"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/cve-2005-4900","tags":["advisory"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2022-1045","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-23T13:56:51.919Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39237","url":"https://www.cve.org/CVERecord?id=CVE-2022-39237","licence":"CVE Terms of Use","modified":"2025-04-23T16:53:04.342Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m5m3-46gj-wch8","url":"https://github.com/advisories/GHSA-m5m3-46gj-wch8","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:16.141Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-1045","url":"https://pkg.go.dev/vuln/GO-2022-1045","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39237","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39237","licence":"Public domain","modified":"2026-06-17T04:57:58.343Z"}],"updatedAt":"2026-11-25T22:58:15.429Z","epss":{"score":0.00664,"percentile":0.53018,"date":"2026-12-01T12:00:22.000Z"}}