CVE-2020-13846
"Verify All" Returns Success Despite Validation Failures in Singularity
Sylabs Singularity 3.5.0 through 3.5.3 fails to report an error in a Status Code.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
Sylabs Singularity 3.5.0 through 3.5.3 fails to report an error in a Status Code.
- Record
CVE-2020-13846- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Updated
- 2026-11-02
CVE List No score
Sylabs Singularity 3.5.0 through 3.5.3 fails to report an error in a Status Code.
- Record
CVE-2020-13846- Updated
- 2026-11-02
EUVDEUVD-2021-2463 No score
Sylabs Singularity 3.5.0 through 3.5.3 fails to report an error in a Status Code.
- Record
EUVD-2021-2463- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6w7g-p4jh-rf92
7.5
"Verify All" Returns Success Despite Validation Failures in Singularity
Impact
The --all / -a option to singularity verify returns success even when some objects in a SIF container are not signed, or cannot be verified.
The SIF objects that are not verified are reported in WARNING log messages, but a Container Verified message and exit code of 0 are returned.
Workflows that verify a container using --all / -a and use the exit code as an indicator of success are vulnerable to running SIF containers that have unsigned, or modified, objects that may be exploited to introduce malicious behavior.
$ singularity verify -a image.sif
WARNING: Missing signature for SIF descriptor 2 (JSON.Generic)
WARNING: Missing signature for SIF descriptor 3 (FS)
Container is signed by 1 key(s):
Verifying partition: Def.FILE:
12045C8C0B1004D058DE4BEDA20C27EE7FF7BA84
[LOCAL] Unit Test <[email protected]>
[OK] Data integrity verified
INFO: Container verified: image.sif
$ echo $?
0
Patches
Singularity 3.6.0 has a new implementation of sign/verify that fixes this issue.
All users are advised to upgrade to 3.6.0. Note that Singularity 3.6.0 uses a new signature format that is necessarily incompatible with Singularity < 3.6.0 - e.g. Singularity 3.5.3 cannot verify containers signed by 3.6.0.
Version 3.6.0 includes a --legacy-insecure flag for the singularity verify command, that will perform verification of the older, and insecure, legacy signatures for compatibility with existing containers. This does not guarantee that containers have not been modified since signing, due to other issues in the legacy signature format.
Workarounds
If you are unable to update to 3.6.0 ensure that you do not rely on the return code of singularity verify --all / -a as an indicator of trust in a container.
Note that other issues in the sign/verify implementation in Singularity < 3.6.0 allow additional means to introduce malicious behavior to a signed container.
For more information
General questions about the impact of the advisory / changes made in the 3.6.0 release can be asked in the:
Any sensitive security concerns should be directed to: [email protected]
See our Security Policy here: https://sylabs.io/security-policy
- Record
GHSA-6w7g-p4jh-rf92- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVALPINE-CVE-2020-13846
7.5
Sylabs Singularity 3.5.0 through 3.5.3 fails to report an error in a Status Code.
- Record
ALPINE-CVE-2020-13846- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-03
OSV
7.5
Sylabs Singularity 3.5.0 through 3.5.3 fails to report an error in a Status Code.
- Record
CVE-2020-13846- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 6 moreShow less
OSVGHSA-6w7g-p4jh-rf92
7.5
"Verify All" Returns Success Despite Validation Failures in Singularity
Impact
The --all / -a option to singularity verify returns success even when some objects in a SIF container are not signed, or cannot be verified.
The SIF objects that are not verified are reported in WARNING log messages, but a Container Verified message and exit code of 0 are returned.
Workflows that verify a container using --all / -a and use the exit code as an indicator of success are vulnerable to running SIF containers that have unsigned, or modified, objects that may be exploited to introduce malicious behavior.
$ singularity verify -a image.sif
WARNING: Missing signature for SIF descriptor 2 (JSON.Generic)
WARNING: Missing signature for SIF descriptor 3 (FS)
Container is signed by 1 key(s):
Verifying partition: Def.FILE:
12045C8C0B1004D058DE4BEDA20C27EE7FF7BA84
[LOCAL] Unit Test <[email protected]>
[OK] Data integrity verified
INFO: Container verified: image.sif
$ echo $?
0
Patches
Singularity 3.6.0 has a new implementation of sign/verify that fixes this issue.
All users are advised to upgrade to 3.6.0. Note that Singularity 3.6.0 uses a new signature format that is necessarily incompatible with Singularity < 3.6.0 - e.g. Singularity 3.5.3 cannot verify containers signed by 3.6.0.
Version 3.6.0 includes a --legacy-insecure flag for the singularity verify command, that will perform verification of the older, and insecure, legacy signatures for compatibility with existing containers. This does not guarantee that containers have not been modified since signing, due to other issues in the legacy signature format.
Workarounds
If you are unable to update to 3.6.0 ensure that you do not rely on the return code of singularity verify --all / -a as an indicator of trust in a container.
Note that other issues in the sign/verify implementation in Singularity < 3.6.0 allow additional means to introduce malicious behavior to a signed container.
For more information
General questions about the impact of the advisory / changes made in the 3.6.0 release can be asked in the:
Any sensitive security concerns should be directed to: [email protected]
See our Security Policy here: https://sylabs.io/security-policy
- Record
GHSA-6w7g-p4jh-rf92- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-13846
7.5
Sylabs Singularity 3.5.0 through 3.5.3 fails to report an error in a Status Code.
- Record
UBUNTU-CVE-2020-13846- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVopenSUSE-SU-2020:1011-1 No score
Security update for singularity
This update for singularity fixes the following issues:
-
New version 3.6.0. This version introduces a new signature format for SIF images, and changes to the signing / verification code to address the following security problems:
- CVE-2020-13845, boo#1174150 In Singularity 3.x versions below 3.6.0, issues allow the ECL to be bypassed by a malicious user.
- CVE-2020-13846, boo#1174148 In Singularity 3.5 the --all / -a option to singularity verify returns success even when some objects in a SIF container are not signed, or cannot be verified.
- CVE-2020-13847, boo#1174152 In Singularity 3.x versions below 3.6.0, Singularity's sign and verify commands do not sign metadata found in the global header or data object descriptors of a SIF file, allowing an attacker to cause unexpected behavior. A signed container may verify successfully, even when it has been modified in ways that could be exploited to cause malicious behavior.
-
New features / functionalities
- A new '--legacy-insecure' flag to verify allows verification of SIF signatures in the old, insecure format.
- A new '-l / --logs' flag for instance list that shows the paths to instance STDERR / STDOUT log files.
- The --json output of instance list now include paths to STDERR / STDOUT log files.
- Singularity now supports the execution of minimal Docker/OCI containers that do not contain /bin/sh, e.g. docker://hello-world.
- A new cache structure is used that is concurrency safe on a filesystem that supports atomic rename. If you downgrade to Singularity 3.5 or older after using 3.6 you will need to run singularity cache clean.
- A plugin system rework adds new hook points that will allow the development of plugins that modify behavior of the runtime. An image driver concept is introduced for plugins to support new ways of handling image and overlay mounts. Plugins built for <=3.5 are not compatible with 3.6.
- The --bind flag can now bind directories from a SIF or ext3 image into a container.
- The --fusemount feature to mount filesystems to a container via FUSE drivers is now a supported feature (previously an experimental hidden flag).
- This permits users to mount e.g. sshfs and cvmfs filesystems to the container at runtime.
- A new -c/--config flag allows an alternative singularity.conf to be specified by the root user, or all users in an unprivileged installation.
- A new --env flag allows container environment variables to be set via the Singularity command line.
- A new --env-file flag allows container environment variables to be set from a specified file.
- A new --days flag for cache clean allows removal of items older than a specified number of days. Replaces the --name flag which is not generally useful as the cache entries are stored by hash, not a friendly name.
-
Changed defaults / behaviours
-
New signature format (see security fixes above).
-
Fixed spacing of singularity instance list to be dynamically changing based off of input lengths instead of fixed number of spaces to account for long instance names.
-
Environment variables prefixed with SINGULARITYENV_ always take precedence over variables without SINGULARITYENV_ prefix.
-
The %post build section inherits environment variables from the base image.
-
%files from ... will now follow symlinks for sources that are directly specified, or directly resolved from a glob pattern. It will not follow symlinks found through directory traversal. This mirrors Docker multi-stage COPY behaviour.
-
Restored the CWD mount behaviour of v2, implying that CWD path is not recreated inside container and any symlinks in the CWD path are not resolved anymore to determine the destination path inside container.
-
The %test build section is executed the same manner as singularity test image. --fusemount with the container: default directive will foreground the FUSE process. Use container-daemon: for previous…
- Record
openSUSE-SU-2020:1011-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:1037-1 No score
Security update for singularity
This update for singularity fixes the following issues:
-
New version 3.6.0. This version introduces a new signature format for SIF images, and changes to the signing / verification code to address the following security problems:
- CVE-2020-13845, boo#1174150 In Singularity 3.x versions below 3.6.0, issues allow the ECL to be bypassed by a malicious user.
- CVE-2020-13846, boo#1174148 In Singularity 3.5 the --all / -a option to singularity verify returns success even when some objects in a SIF container are not signed, or cannot be verified.
- CVE-2020-13847, boo#1174152 In Singularity 3.x versions below 3.6.0, Singularity's sign and verify commands do not sign metadata found in the global header or data object descriptors of a SIF file, allowing an attacker to cause unexpected behavior. A signed container may verify successfully, even when it has been modified in ways that could be exploited to cause malicious behavior.
-
New features / functionalities
- A new '--legacy-insecure' flag to verify allows verification of SIF signatures in the old, insecure format.
- A new '-l / --logs' flag for instance list that shows the paths to instance STDERR / STDOUT log files.
- The --json output of instance list now include paths to STDERR / STDOUT log files.
- Singularity now supports the execution of minimal Docker/OCI containers that do not contain /bin/sh, e.g. docker://hello-world.
- A new cache structure is used that is concurrency safe on a filesystem that supports atomic rename. If you downgrade to Singularity 3.5 or older after using 3.6 you will need to run singularity cache clean.
- A plugin system rework adds new hook points that will allow the development of plugins that modify behavior of the runtime. An image driver concept is introduced for plugins to support new ways of handling image and overlay mounts. Plugins built for <=3.5 are not compatible with 3.6.
- The --bind flag can now bind directories from a SIF or ext3 image into a container.
- The --fusemount feature to mount filesystems to a container via FUSE drivers is now a supported feature (previously an experimental hidden flag).
- This permits users to mount e.g. sshfs and cvmfs filesystems to the container at runtime.
- A new -c/--config flag allows an alternative singularity.conf to be specified by the root user, or all users in an unprivileged installation.
- A new --env flag allows container environment variables to be set via the Singularity command line.
- A new --env-file flag allows container environment variables to be set from a specified file.
- A new --days flag for cache clean allows removal of items older than a specified number of days. Replaces the --name flag which is not generally useful as the cache entries are stored by hash, not a friendly name.
-
Changed defaults / behaviours
-
New signature format (see security fixes above).
-
Fixed spacing of singularity instance list to be dynamically changing based off of input lengths instead of fixed number of spaces to account for long instance names.
-
Environment variables prefixed with SINGULARITYENV_ always take precedence over variables without SINGULARITYENV_ prefix.
-
The %post build section inherits environment variables from the base image.
-
%files from ... will now follow symlinks for sources that are directly specified, or directly resolved from a glob pattern. It will not follow symlinks found through directory traversal. This mirrors Docker multi-stage COPY behaviour.
-
Restored the CWD mount behaviour of v2, implying that CWD path is not recreated inside container and any symlinks in the CWD path are not resolved anymore to determine the destination path inside container.
-
The %test build section is executed the same manner as singularity test image. --fusemount with the container: default directive will foreground the FUSE process. Use container-daemon: for previous…
- Record
openSUSE-SU-2020:1037-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:1100-1 No score
Security update for singularity
This update for singularity fixes the following issues:
-
New version 3.6.0. This version introduces a new signature format for SIF images, and changes to the signing / verification code to address the following security problems:
- CVE-2020-13845, boo#1174150 In Singularity 3.x versions below 3.6.0, issues allow the ECL to be bypassed by a malicious user.
- CVE-2020-13846, boo#1174148 In Singularity 3.5 the --all / -a option to singularity verify returns success even when some objects in a SIF container are not signed, or cannot be verified.
- CVE-2020-13847, boo#1174152 In Singularity 3.x versions below 3.6.0, Singularity's sign and verify commands do not sign metadata found in the global header or data object descriptors of a SIF file, allowing an attacker to cause unexpected behavior. A signed container may verify successfully, even when it has been modified in ways that could be exploited to cause malicious behavior.
-
New features / functionalities
- A new '--legacy-insecure' flag to verify allows verification of SIF signatures in the old, insecure format.
- A new '-l / --logs' flag for instance list that shows the paths to instance STDERR / STDOUT log files.
- The --json output of instance list now include paths to STDERR / STDOUT log files.
- Singularity now supports the execution of minimal Docker/OCI containers that do not contain /bin/sh, e.g. docker://hello-world.
- A new cache structure is used that is concurrency safe on a filesystem that supports atomic rename. If you downgrade to Singularity 3.5 or older after using 3.6 you will need to run singularity cache clean.
- A plugin system rework adds new hook points that will allow the development of plugins that modify behavior of the runtime. An image driver concept is introduced for plugins to support new ways of handling image and overlay mounts. Plugins built for <=3.5 are not compatible with 3.6.
- The --bind flag can now bind directories from a SIF or ext3 image into a container.
- The --fusemount feature to mount filesystems to a container via FUSE drivers is now a supported feature (previously an experimental hidden flag).
- This permits users to mount e.g. sshfs and cvmfs filesystems to the container at runtime.
- A new -c/--config flag allows an alternative singularity.conf to be specified by the root user, or all users in an unprivileged installation.
- A new --env flag allows container environment variables to be set via the Singularity command line.
- A new --env-file flag allows container environment variables to be set from a specified file.
- A new --days flag for cache clean allows removal of items older than a specified number of days. Replaces the --name flag which is not generally useful as the cache entries are stored by hash, not a friendly name.
-
Changed defaults / behaviours
-
New signature format (see security fixes above).
-
Fixed spacing of singularity instance list to be dynamically changing based off of input lengths instead of fixed number of spaces to account for long instance names.
-
Environment variables prefixed with SINGULARITYENV_ always take precedence over variables without SINGULARITYENV_ prefix.
-
The %post build section inherits environment variables from the base image.
-
%files from ... will now follow symlinks for sources that are directly specified, or directly resolved from a glob pattern. It will not follow symlinks found through directory traversal. This mirrors Docker multi-stage COPY behaviour.
-
Restored the CWD mount behaviour of v2, implying that CWD path is not recreated inside container and any symlinks in the CWD path are not resolved anymore to determine the destination path inside container.
-
The %test build section is executed the same manner as singularity test image. --fusemount with the container: default directive will foreground the FUSE process. Use container-daemon: for previous…
- Record
openSUSE-SU-2020:1100-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11384-1 No score
singularity-3.8.3-1.2 on GA media
These are all security issues fixed in the singularity-3.8.3-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11384-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/sylabs/singularityGo |
3.5.0 up to 3.6.0 | 3.6.0 |
singularityAlpine:v3.19 |
3.5.0 up to 3.6.0-r0 | 3.6.0-r0 |
singularityAlpine:v3.20 |
3.5.0 up to 3.6.0-r0 | 3.6.0-r0 |
singularityAlpine:v3.21 |
3.5.0 up to 3.6.0-r0 | 3.6.0-r0 |
singularityAlpine:v3.22 |
3.5.0 up to 3.6.0-r0 | 3.6.0-r0 |
singularityAlpine:v3.23 |
3.5.0 up to 3.6.0-r0 | 3.6.0-r0 |
singularityAlpine:v3.24 |
3.5.0 up to 3.6.0-r0 | 3.6.0-r0 |
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 |
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 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
singularity-containerUbuntu:26.04:LTS |
All versions, plus listed versions 4.1.5+ds4-1 |
None known |
singularityopenSUSE:Leap 15.2 From an advisory covering 3 CVEs |
before 3.6.0-lp152.2.3.1 | 3.6.0-lp152.2.3.1 |
singularityopenSUSE:Leap 15.1 From an advisory covering 5 CVEs |
before 3.6.0-lp151.2.6.1 | 3.6.0-lp151.2.6.1 |
singularitySUSE:Package Hub 15 SP2 From an advisory covering 3 CVEs |
before 3.6.0-bp152.2.4.1 | 3.6.0-bp152.2.4.1 |
singularityopenSUSE:Tumbleweed From an advisory covering 12 CVEs |
before 3.8.3-1.2 | 3.8.3-1.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-13846 is a high vulnerability (CVSS 7.5) in Sylabs Singularity, published July 14, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.34%, the 71st percentile. Fixed in github.com/sylabs/singularity 3.6.0.
References
medium.com/sylabs
github.com/hpcng/singularity/security/advisories/GHSA-6w7g-p4jh-rf92
lists.opensuse.org/opensuse-security-announce/2020-07/msg00046.html
lists.opensuse.org/opensuse-security-announce/2020-07/msg00059.html
lists.opensuse.org/opensuse-security-announce/2020-09/msg00053.html
nvd.nist.gov/vuln/detail/CVE-2020-13846
Show 26 moreShow less
github.com/advisories/GHSA-6w7g-p4jh-rf92
security.alpinelinux.org/vuln/CVE-2020-13846
github.com/sylabs/singularity
ubuntu.com/security/CVE-2020-13846
cve.org/CVERecord?id=CVE-2020-13846
lists.opensuse.org/archives/list/[email protected]/thread/3SAQ7VHOBJRH3RBUUMSP4FWX6EERZQLH
bugzilla.suse.com/1174148
bugzilla.suse.com/1174150
bugzilla.suse.com/1174152
suse.com/security/cve/CVE-2020-13845
suse.com/security/cve/CVE-2020-13846
suse.com/security/cve/CVE-2020-13847
lists.opensuse.org/archives/list/[email protected]/thread/EIHKRY3G2SS6X2ZY44CW67IIGHCJUYMO
bugzilla.suse.com/1125369
bugzilla.suse.com/1128598
bugzilla.suse.com/1159550
suse.com/security/cve/CVE-2019-11328
suse.com/security/cve/CVE-2019-19724
lists.opensuse.org/archives/list/[email protected]/thread/MUCKOMJKYSUD3KFNFD7KCBEF323WWHLF
suse.com/security/cve/CVE-2018-12021
suse.com/security/cve/CVE-2018-19295
suse.com/security/cve/CVE-2020-15229
suse.com/security/cve/CVE-2020-25039
suse.com/security/cve/CVE-2020-25040
suse.com/security/cve/CVE-2021-29136
suse.com/security/cve/CVE-2021-32635
Left out here: the rest of 3 source descriptions. The JSON record has them.