CVE-2022-39237
Digital Signature Hash Algorithms Not Validated in sylabs/sif
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
6.3
Digital Signature Hash Algorithms Not Validated in sylabs/sif
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.
- Record
CVE-2022-39237- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-347
- Updated
- 2026-11-02
EUVDEUVD-2022-7123
6.3
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.
- Record
EUVD-2022-7123- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-m5m3-46gj-wch8
6.3
SIF's Digital Signature Hash Algorithms Not Validated
Impact
The github.com/sylabs/sif/v2/pkg/integrity package does not verify that the hash algorithm(s) used are cryptographically secure when verifying digital signatures.
Patches
A patch is available in version >= v2.8.1 of the module. Users are encouraged to upgrade.
The patch is commit https://github.com/sylabs/sif/commit/07fb86029a12e3210f6131e065570124605daeaa
Workarounds
Users may independently validate that the hash algorithm(s) used for metadata digest(s) and signature hash are cryptographically secure.
References
For more information
If you have any questions or comments about this advisory:
- Open an issue in github.com/sylabs/sif
- Email us at [email protected]
- Record
GHSA-m5m3-46gj-wch8- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-327, CWE-347
- Updated
- 2026-11-02
NVD
6.3
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.
- Record
CVE-2022-39237- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-347, CWE-327
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-39237
9.8
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.
- Record
ALPINE-CVE-2022-39237- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
6.3
Digital Signature Hash Algorithms Not Validated in sylabs/sif
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.
- Record
CVE-2022-39237- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-347
- Updated
- 2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2022-39237
9.8
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.
- Record
DEBIAN-CVE-2022-39237- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVGHSA-m5m3-46gj-wch8
6.3
SIF's Digital Signature Hash Algorithms Not Validated
Impact
The github.com/sylabs/sif/v2/pkg/integrity package does not verify that the hash algorithm(s) used are cryptographically secure when verifying digital signatures.
Patches
A patch is available in version >= v2.8.1 of the module. Users are encouraged to upgrade.
The patch is commit https://github.com/sylabs/sif/commit/07fb86029a12e3210f6131e065570124605daeaa
Workarounds
Users may independently validate that the hash algorithm(s) used for metadata digest(s) and signature hash are cryptographically secure.
References
For more information
If you have any questions or comments about this advisory:
- Open an issue in github.com/sylabs/sif
- Email us at [email protected]
- Record
GHSA-m5m3-46gj-wch8- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-327, CWE-347
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-39237
6.3
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.
- Record
UBUNTU-CVE-2022-39237- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGO-2022-1045 No score
Improper validation of signature hash algorithms in github.com/sylabs/sif/v2
The Singularity Image Format (SIF) reference implementation does not verify that the hash algorithm(s) used are cryptographically secure when verifying digital signatures.
- Record
GO-2022-1045- Updated
- 2026-11-02
OSVopenSUSE-SU-2023:0018-1 No score
Security update for apptainer
This update for apptainer fixes the following issues:
Updated to 1.1.2 which fixed CVE-2022-39237
- CVE-2022-39237: The sif dependency included in Apptainer before this release does not verify that the hash algorithm(s) used are cryptographically secure when verifying digital signatures. This release updates to sif v2.8.1 which corrects this issue. See the linked advisory for references and a workaround.
Updated to version 1.1.0
- added squashfuse-0.1.105.tar.gz and 70.patch for the build of squashfuse_ll which will be removed as soon as the multithread patch is incoperated
- Change squash mounts to prefer to use squashfuse_ll instead of squashfuse, if available, for improved performance. squashfuse_ll is not available in factory.
- Also, for even better parallel performance, include a patched multithreaded version of squashfuse_ll in
- Imply adding ${prefix}/libexec/apptainer/bin to the binary path in apptainer.conf, which is used for searching for helper executables. It is implied as the first directory of $PATH if present (which is at the beginning of binary path by default) or just as the first directory if $PATH is not included in binary path. ${prefix}/libexec/apptainer/bin.
- Add --unsquash action flag to temporarily convert a SIF file to a sandbox before running. In previous versions this was the default when running a SIF file without setuid or with fakeroot, but now the default is to instead mount with squashfuse.
- Add --sparse flag to overlay create command to allow generation of a sparse ext3 overlay image.
- Support for a custom hashbang in the %test section of an Apptainer recipe (akin to the runscript and start sections).
- When using fakeroot in setuid mode, have the image drivers first enter the the container's user namespace to avoid write errors with overlays.
- Skip trying to use kernel overlayfs when using writable overlay and the lower layer is FUSE, because of a kernel bug introduced in kernel 5.15.
- Add additional hidden options to the action command for testing different fakeroot modes with --fakeroot: --ignore-subuid, --ignore-fakeroot-command, and --ignore-userns.
-
Updated to version 1.1.0-rc2 with following changes:
- Fixed longstanding bug in the underlay logic when there are nested bind points separated by more than one path level, for example /var and /var/lib/yum, and the path didn't exist in the container image. The bug only caused an error when there was a directory in the container image that didn't exist on the host.
- Improved wildcard matching in the %files directive of build definition files by replacing usage of sh with the mvdan.cc library.
- Replaced checks for compatible filesystem types when using fuse-overlayfs with an INFO message when an incompatible filesystem type causes it to be unwritable by a fakeroot user.
- The --nvccli option now works without --fakeroot. In that case the option can be used with --writable-tmpfs instead of --writable, and --writable-tmpfs is implied if neither option is given. Note that also /usr/bin has to be writable by the user, so without --fakeroot that probably requires a sandbox image that was built with --fix-perms.
- The --nvccli option implies --nv.
- Configure squashfuse to always show files to be owned by the current user. That's especially important for fakeroot to prevent most of the files from looking like they are owned by user 65534.
- The fakeroot command can now be used even if $PATH is empty in the environment of the apptainer command.
- Allow the newuidmap command to be missing if the current user is not listed in /etc/subuid.
- Require the uidmap package in Debian packaging.
- Improved error handling of unsupported pass protected PEM files with encrypted containers.
- Ensure bootstrap_history directory is populated with previous…
- Record
openSUSE-SU-2023:0018-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12389-1 No score
apptainer-1.1.2-1.1 on GA media
These are all security issues fixed in the apptainer-1.1.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12389-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14059-1 No score
singularity-ce-4.1.3-1.1 on GA media
These are all security issues fixed in the singularity-ce-4.1.3-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14059-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/sylabs/sif/v2Go |
before 2.8.1 | 2.8.1 |
apptainerAlpine:v3.19 |
before 1.1.2-r0 | 1.1.2-r0 |
apptainerAlpine:v3.20 |
before 1.1.2-r0 | 1.1.2-r0 |
apptainerAlpine:v3.21 |
before 1.1.2-r0 | 1.1.2-r0 |
apptainerAlpine:v3.22 |
before 1.1.2-r0 | 1.1.2-r0 |
apptainerAlpine:v3.23 |
before 1.1.2-r0 | 1.1.2-r0 |
apptainerAlpine:v3.24 |
before 1.1.2-r0 | 1.1.2-r0 |
golang-github-sylabs-sifDebian:12 |
before 2.8.3-1 | 2.8.3-1 |
golang-github-sylabs-sifDebian:13 |
before 2.8.3-1 | 2.8.3-1 |
golang-github-sylabs-sifDebian:14 |
before 2.8.3-1 | 2.8.3-1 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
singularity-containerUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 2.3.1-22.3.2-12.4.1-12.4.2-22.4.2-32.4.2-42.4.2-4ubuntu0.1~esm1 |
None known |
golang-github-sylabs-sifUbuntu:20.04:LTS |
All versions, plus listed versions 1.0.9-1 |
None known |
golang-github-sylabs-sifUbuntu:22.04:LTS |
All versions, plus listed versions 1.0.9-2.11.0.9-2.1build11.0.9-2.1ubuntu0.1 |
None known |
singularity-containerUbuntu:Pro:24.04:LTS |
All versions, plus listed versions 4.1.1+ds2-14.1.1+ds2-1build14.1.1+ds2-1ubuntu0.14.1.1+ds2-1ubuntu0.24.1.1+ds2-1ubuntu0.2+esm14.1.1+ds2-1ubuntu0.34.1.1+ds2-1ubuntu0.3+esm14.1.1+ds2-1ubuntu0.3+esm2 |
None known |
singularity-containerUbuntu:25.10 |
All versions, plus listed versions 4.1.5+ds4-1 |
None known |
singularity-containerUbuntu:26.04:LTS |
All versions, plus listed versions 4.1.5+ds4-1 |
None known |
apptaineropenSUSE:Leap 15.4 From an advisory covering 3 CVEs |
before 1.1.2-lp154.2.1 | 1.1.2-lp154.2.1 |
apptaineropenSUSE:Tumbleweed |
before 1.1.2-1.1 | 1.1.2-1.1 |
singularity-ceopenSUSE:Tumbleweed From an advisory covering 8 CVEs |
before 4.1.3-1.1 | 4.1.3-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-39237 is a medium vulnerability (CVSS 6.3) in Sylabs Sif, published October 6, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 51st percentile. Fixed in github.com/sylabs/sif/v2 2.8.1.
References
github.com/sylabs/sif/security/advisories/GHSA-m5m3-46gj-wch8
github.com/sylabs/sif/commit/07fb86029a12e3210f6131e065570124605daeaa
security.gentoo.org/glsa/202210-19
nvd.nist.gov/vuln/detail/CVE-2022-39237
github.com/sylabs/sif/releases/tag/v2.8.1
nvd.nist.gov/vuln/detail/cve-2004-2761
Show 22 moreShow less
nvd.nist.gov/vuln/detail/cve-2005-4900
pkg.go.dev/vuln/GO-2022-1045
github.com/advisories/GHSA-m5m3-46gj-wch8
security.alpinelinux.org/vuln/CVE-2022-39237
github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39237.json
security-tracker.debian.org/tracker/CVE-2022-39237
github.com/sylabs/sif
ubuntu.com/security/CVE-2022-39237
github.com/sylabs/sif/commit/21972852d8783bc93fbf080190de8e1978f1c254
github.com/sylabs/sif/commit/a854038ce1f18237b81d505a1c3be6a60505db52
cve.org/CVERecord?id=CVE-2022-39237
lists.opensuse.org/archives/list/[email protected]/thread/6WS5CSKKNIOV4MCZX36E2OGOEC5EKPNG
suse.com/security/cve/CVE-2021-44716
suse.com/security/cve/CVE-2021-44717
suse.com/security/cve/CVE-2022-39237
suse.com/security/cve/CVE-2022-23538
suse.com/security/cve/CVE-2024-21626
suse.com/security/cve/CVE-2024-23650
suse.com/security/cve/CVE-2024-23651
suse.com/security/cve/CVE-2024-23652
suse.com/security/cve/CVE-2024-23653
suse.com/security/cve/CVE-2024-3727
Left out here: the rest of 1 source description. The JSON record has them.