Vulnerability · Published Oct 6, 2022 · Assigned by GitHub_M

CVE-2022-39237Digital Signature Hash Algorithms Not Validated in sylabs/sif

Medium 6.3

In plain English

A medium-severity security flaw in sif from sylabs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.7%top 48.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20apptainer1.1.2-r0ALPINE-CVE-2022-39237
Alpine:v3.21apptainer1.1.2-r0ALPINE-CVE-2022-39237
Alpine:v3.22apptainer1.1.2-r0ALPINE-CVE-2022-39237
Alpine:v3.23apptainer1.1.2-r0ALPINE-CVE-2022-39237
Alpine:v3.24apptainer1.1.2-r0ALPINE-CVE-2022-39237
Debian:12golang-github-sylabs-sif2.8.3-1DEBIAN-CVE-2022-39237
Debian:13golang-github-sylabs-sif2.8.3-1DEBIAN-CVE-2022-39237
Debian:14golang-github-sylabs-sif2.8.3-1DEBIAN-CVE-2022-39237
Gogithub.com/sylabs/sif/v22.8.1GO-2022-1045
Gogithub.com/sylabs/sif/v22.8.1GHSA-m5m3-46gj-wch8
Ubuntu:22.04:LTSgolang-github-sylabs-sifno fix listedUBUNTU-CVE-2022-39237
Ubuntu:25.10singularity-containerno fix listedUBUNTU-CVE-2022-39237
Ubuntu:26.04:LTSsingularity-containerno fix listedUBUNTU-CVE-2022-39237

Affected products (as reported)

VendorProductVersions
sylabs sif < 2.8.1

Weakness: CWE-347 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

References