CVE-2022-39237 Digital Signature Hash Algorithms Not Validated in sylabs/sif
Attackers can bypass digital signature verification in Singularity Image Format libraries by using insecure hash algorithms, compromising image integrity.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-39237?
CVE-2022-39237 is a medium-severity vulnerability in sylabs sif, published on 6 Oct 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
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.
Which versions are affected by CVE-2022-39237?
3 open source packages ship an affected version, including github.com/sylabs/sif/v2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/sylabs/sif/v2 Go | All versions | 2.8.1 |
github.com/sylabs/sif/v2 Go | All versions | 2.8.1 |
github.com/sylabs/sif/v2 Go | All versions | 2.8.1 |
Linux distribution packages (1)
apptainer openSUSE:Tumbleweed | All versions | 1.1.2-1.1 |
Products include Sylabs Singularity Image Format.
How do I fix CVE-2022-39237?
Upgrade github.com/sylabs/sif/v2 to 2.8.1 or later.
Is CVE-2022-39237 being exploited?
There is no known exploitation of CVE-2022-39237 in the wild and no public exploit code.
Other vulnerabilities in sylabs sif
Sources
Also known as CLEANSTART-2024-TO97998, DEBIAN-CVE-2022-39237, GHSA-m5m3-46gj-wch8, GO-2022-1045, UBUNTU-CVE-2022-39237, openSUSE-SU-2024:12389-1.