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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | apptainer | 1.1.2-r0 | ALPINE-CVE-2022-39237 |
| Alpine:v3.21 | apptainer | 1.1.2-r0 | ALPINE-CVE-2022-39237 |
| Alpine:v3.22 | apptainer | 1.1.2-r0 | ALPINE-CVE-2022-39237 |
| Alpine:v3.23 | apptainer | 1.1.2-r0 | ALPINE-CVE-2022-39237 |
| Alpine:v3.24 | apptainer | 1.1.2-r0 | ALPINE-CVE-2022-39237 |
| Debian:12 | golang-github-sylabs-sif | 2.8.3-1 | DEBIAN-CVE-2022-39237 |
| Debian:13 | golang-github-sylabs-sif | 2.8.3-1 | DEBIAN-CVE-2022-39237 |
| Debian:14 | golang-github-sylabs-sif | 2.8.3-1 | DEBIAN-CVE-2022-39237 |
| Go | github.com/sylabs/sif/v2 | 2.8.1 | GO-2022-1045 |
| Go | github.com/sylabs/sif/v2 | 2.8.1 | GHSA-m5m3-46gj-wch8 |
| Ubuntu:22.04:LTS | golang-github-sylabs-sif | no fix listed | UBUNTU-CVE-2022-39237 |
| Ubuntu:25.10 | singularity-container | no fix listed | UBUNTU-CVE-2022-39237 |
| Ubuntu:26.04:LTS | singularity-container | no fix listed | UBUNTU-CVE-2022-39237 |
Affected products (as reported)
Weakness: CWE-347 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L