Lookup for vulnerable packages by Package URL.

Purlpkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
Typedeb
Namespacedebian
Namesingularity-container
Version3.9.5+ds1-2
Qualifiers
distro sid
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version3.10.3+ds1-1
Latest_non_vulnerable_version4.1.5+ds4-1
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-5ftw-539a-kbdz
vulnerability_id VCID-5ftw-539a-kbdz
summary
"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 <unit@test.com>
[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:

* [Singularity Slack Channel](https://bit.ly/2m0g3lX)
* [Singularity Mailing List](https://groups.google.com/a/lbl.gov/forum/??sdf%7Csort:date#!forum/singularity)

Any sensitive security concerns should be directed to: security@sylabs.io

See our Security Policy here: https://sylabs.io/security-policy
references
0
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00046.html
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00046.html
1
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00059.html
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00059.html
2
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00053.html
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00053.html
3
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-13846
reference_id
reference_type
scores
0
value 0.00368
scoring_system epss
scoring_elements 0.58778
published_at 2026-04-21T12:55:00Z
1
value 0.00368
scoring_system epss
scoring_elements 0.58756
published_at 2026-04-04T12:55:00Z
2
value 0.00368
scoring_system epss
scoring_elements 0.58723
published_at 2026-04-07T12:55:00Z
3
value 0.00368
scoring_system epss
scoring_elements 0.58776
published_at 2026-04-08T12:55:00Z
4
value 0.00368
scoring_system epss
scoring_elements 0.58783
published_at 2026-04-12T12:55:00Z
5
value 0.00368
scoring_system epss
scoring_elements 0.58801
published_at 2026-04-11T12:55:00Z
6
value 0.00368
scoring_system epss
scoring_elements 0.58763
published_at 2026-04-13T12:55:00Z
7
value 0.00368
scoring_system epss
scoring_elements 0.58795
published_at 2026-04-16T12:55:00Z
8
value 0.00368
scoring_system epss
scoring_elements 0.588
published_at 2026-04-18T12:55:00Z
9
value 0.00368
scoring_system epss
scoring_elements 0.58651
published_at 2026-04-01T12:55:00Z
10
value 0.00368
scoring_system epss
scoring_elements 0.58735
published_at 2026-04-02T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-13846
4
reference_url https://github.com/hpcng/singularity/security/advisories/GHSA-6w7g-p4jh-rf92
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/hpcng/singularity/security/advisories/GHSA-6w7g-p4jh-rf92
5
reference_url https://github.com/sylabs/singularity
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/sylabs/singularity
6
reference_url https://medium.com/sylabs
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://medium.com/sylabs
7
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-13846
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2020-13846
8
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965040
reference_id 965040
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965040
fixed_packages
0
url pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
purl pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@3.9.5%252Bds1-2%3Fdistro=sid
1
url pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
purl pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@4.1.5%252Bds4-1%3Fdistro=sid
aliases CVE-2020-13846, GHSA-6w7g-p4jh-rf92
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-5ftw-539a-kbdz
1
url VCID-a2rx-fr2c-vqej
vulnerability_id VCID-a2rx-fr2c-vqej
summary
Insecure permissions on user namespace / fakeroot temporary rootfs in Singularity
### Impact

Insecure permissions on temporary directories used in fakeroot or user namespace container execution.

When a Singularity action command (run, shell, exec) is run with the fakeroot or user namespace option, Singularity will extract a container image to a temporary sandbox directory. Due to insecure permissions on the temporary directory it is possible for any user with access to the system to read the contents of the image. Additionally, if the image contains a world-writable file or directory, it is possible for a user to inject arbitrary content into the running container.

### Patches

This issue is addressed in Singularity 3.6.3.

All users are advised to upgrade to 3.6.3.

### Workarounds

The issue is mitigated if `TMPDIR` is set to a location that is only accessible to the user, as any subdirectories directly under `TMPDIR` cannot then be accessed by others. However, this is difficult to enforce so it is not recommended to rely on this as a mitigation.

### For more information

General questions about the impact of the advisory / changes made in the 3.6.0 release can be asked in the:

* [Singularity Slack Channel](https://bit.ly/2m0g3lX)
* [Singularity Mailing List](https://groups.google.com/a/lbl.gov/forum/??sdf%7Csort:date#!forum/singularity)

Any sensitive security concerns should be directed to: security@sylabs.io

See our Security Policy here: https://sylabs.io/security-policy
references
0
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00070.html
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00070.html
1
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00088.html
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00088.html
2
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-25039
reference_id
reference_type
scores
0
value 0.00815
scoring_system epss
scoring_elements 0.74285
published_at 2026-04-13T12:55:00Z
1
value 0.00815
scoring_system epss
scoring_elements 0.74293
published_at 2026-04-12T12:55:00Z
2
value 0.00815
scoring_system epss
scoring_elements 0.74239
published_at 2026-04-01T12:55:00Z
3
value 0.00815
scoring_system epss
scoring_elements 0.74312
published_at 2026-04-11T12:55:00Z
4
value 0.00815
scoring_system epss
scoring_elements 0.74244
published_at 2026-04-07T12:55:00Z
5
value 0.00815
scoring_system epss
scoring_elements 0.74271
published_at 2026-04-04T12:55:00Z
6
value 0.00815
scoring_system epss
scoring_elements 0.74291
published_at 2026-04-09T12:55:00Z
7
value 0.00815
scoring_system epss
scoring_elements 0.74276
published_at 2026-04-08T12:55:00Z
8
value 0.00815
scoring_system epss
scoring_elements 0.74324
published_at 2026-04-21T12:55:00Z
9
value 0.00815
scoring_system epss
scoring_elements 0.74332
published_at 2026-04-18T12:55:00Z
10
value 0.00815
scoring_system epss
scoring_elements 0.74322
published_at 2026-04-16T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-25039
3
reference_url https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
reference_id
reference_type
scores
0
value 6.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
url https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
4
reference_url https://github.com/hpcng/singularity/security/advisories/GHSA-w6v2-qchm-grj7
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/hpcng/singularity/security/advisories/GHSA-w6v2-qchm-grj7
5
reference_url https://medium.com/sylabs
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://medium.com/sylabs
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-25039
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2020-25039
7
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970465
reference_id 970465
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970465
fixed_packages
0
url pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
purl pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@3.9.5%252Bds1-2%3Fdistro=sid
1
url pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
purl pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@4.1.5%252Bds4-1%3Fdistro=sid
aliases CVE-2020-25039, GHSA-w6v2-qchm-grj7
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-a2rx-fr2c-vqej
2
url VCID-cjnx-2wm2-yyhg
vulnerability_id VCID-cjnx-2wm2-yyhg
summary
Insecure permissions on build temporary rootfs in Singularity
### Impact

Insecure permissions on temporary directories used in explicit and implicit container build operations.

When a Singularity command that results in a container build operation is executed, it is possible for a user with access to the system to read the contents of the image during the build. Additionally, if the image contains a world-writable file or directory, it is possible for a user to inject arbitrary content into the running build, which in certain circumstances may enable arbitrary code execution during the build and/or when the built container is run.

### Patches

This issue is addressed in Singularity 3.6.3.

All users are advised to upgrade to 3.6.3.

### Workarounds

The issue is mitigated if `TMPDIR` is set to a location that is only accessible to the user, as any subdirectories directly under `TMPDIR` cannot then be accessed by others. However, this is difficult to enforce so it is not recommended to rely on this as a mitigation.

### For more information

General questions about the impact of the advisory / changes made in the 3.6.0 release can be asked in the:

* [Singularity Slack Channel](https://bit.ly/2m0g3lX)
* [Singularity Mailing List](https://groups.google.com/a/lbl.gov/forum/??sdf%7Csort:date#!forum/singularity)

Any sensitive security concerns should be directed to: security@sylabs.io

See our Security Policy here: https://sylabs.io/security-policy
references
0
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00070.html
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00070.html
1
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00088.html
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00088.html
2
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-25040
reference_id
reference_type
scores
0
value 0.00744
scoring_system epss
scoring_elements 0.73015
published_at 2026-04-13T12:55:00Z
1
value 0.00744
scoring_system epss
scoring_elements 0.73022
published_at 2026-04-12T12:55:00Z
2
value 0.00744
scoring_system epss
scoring_elements 0.72958
published_at 2026-04-01T12:55:00Z
3
value 0.00744
scoring_system epss
scoring_elements 0.73043
published_at 2026-04-11T12:55:00Z
4
value 0.00744
scoring_system epss
scoring_elements 0.72971
published_at 2026-04-02T12:55:00Z
5
value 0.00744
scoring_system epss
scoring_elements 0.72991
published_at 2026-04-04T12:55:00Z
6
value 0.00744
scoring_system epss
scoring_elements 0.72967
published_at 2026-04-07T12:55:00Z
7
value 0.00744
scoring_system epss
scoring_elements 0.73018
published_at 2026-04-09T12:55:00Z
8
value 0.00744
scoring_system epss
scoring_elements 0.73004
published_at 2026-04-08T12:55:00Z
9
value 0.00744
scoring_system epss
scoring_elements 0.7306
published_at 2026-04-21T12:55:00Z
10
value 0.00744
scoring_system epss
scoring_elements 0.73067
published_at 2026-04-18T12:55:00Z
11
value 0.00744
scoring_system epss
scoring_elements 0.73058
published_at 2026-04-16T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-25040
3
reference_url https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
reference_id
reference_type
scores
0
value 6.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
url https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
4
reference_url https://github.com/hpcng/singularity/security/advisories/GHSA-jv9c-w74q-6762
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/hpcng/singularity/security/advisories/GHSA-jv9c-w74q-6762
5
reference_url https://medium.com/sylabs
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://medium.com/sylabs
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-25040
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2020-25040
7
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970465
reference_id 970465
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970465
fixed_packages
0
url pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
purl pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@3.9.5%252Bds1-2%3Fdistro=sid
1
url pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
purl pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@4.1.5%252Bds4-1%3Fdistro=sid
aliases CVE-2020-25040, GHSA-jv9c-w74q-6762
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-cjnx-2wm2-yyhg
3
url VCID-qr9c-hzvb-uuch
vulnerability_id VCID-qr9c-hzvb-uuch
summary Sylabs Singularity 3.0 through 3.5 lacks support for an Integrity Check. Singularity's sign and verify commands do not sign metadata found in the global header or data object descriptors of a SIF file.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-13847
reference_id
reference_type
scores
0
value 0.00189
scoring_system epss
scoring_elements 0.4068
published_at 2026-04-01T12:55:00Z
1
value 0.00189
scoring_system epss
scoring_elements 0.40764
published_at 2026-04-02T12:55:00Z
2
value 0.00189
scoring_system epss
scoring_elements 0.40791
published_at 2026-04-04T12:55:00Z
3
value 0.00189
scoring_system epss
scoring_elements 0.40715
published_at 2026-04-07T12:55:00Z
4
value 0.00189
scoring_system epss
scoring_elements 0.40765
published_at 2026-04-08T12:55:00Z
5
value 0.00189
scoring_system epss
scoring_elements 0.40773
published_at 2026-04-09T12:55:00Z
6
value 0.00189
scoring_system epss
scoring_elements 0.40792
published_at 2026-04-11T12:55:00Z
7
value 0.00189
scoring_system epss
scoring_elements 0.40757
published_at 2026-04-12T12:55:00Z
8
value 0.00189
scoring_system epss
scoring_elements 0.40738
published_at 2026-04-13T12:55:00Z
9
value 0.00189
scoring_system epss
scoring_elements 0.40783
published_at 2026-04-16T12:55:00Z
10
value 0.00189
scoring_system epss
scoring_elements 0.40753
published_at 2026-04-18T12:55:00Z
11
value 0.00189
scoring_system epss
scoring_elements 0.40676
published_at 2026-04-21T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-13847
1
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965040
reference_id 965040
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965040
fixed_packages
0
url pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
purl pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@3.9.5%252Bds1-2%3Fdistro=sid
1
url pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
purl pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@4.1.5%252Bds4-1%3Fdistro=sid
aliases CVE-2020-13847
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-qr9c-hzvb-uuch
4
url VCID-qz7w-3qvp-ykan
vulnerability_id VCID-qz7w-3qvp-ykan
summary
Path traversal and files overwrite with unsquashfs in singularity
### Impact

Due to insecure handling of path traversal and the lack of path sanitization within `unsquashfs` (a distribution provided utility used by Singularity), it is possible to overwrite/create any files on the host filesystem during the extraction of a crafted squashfs filesystem.

Squashfs extraction occurs automatically for unprivileged execution of Singularity (either `--without-suid` installation or with `allow setuid = no`) when a user attempts to run an image which:

- is a local SIF image or a single file containing a squashfs filesystem
- is pulled from remote sources `library://` or `shub://`

Image build is also impacted in a more serious way as it is often performed by the root user, allowing an attacker to overwrite/create files leading to a system compromise.  Bootstrap methods `library`, `shub` and `localimage` trigger a squashfs extraction.

### Patches

This issue is addressed in Singularity 3.6.4.

All users are advised to upgrade to 3.6.4 especially if they use Singularity mainly for building image as root user.

### Workarounds

There is no solid workaround except to temporarily avoid use of unprivileged mode with single file images, in favor of sandbox images instead. Regarding image build, temporarily avoid building from `library` and `shub` sources, and as much as possible use `--fakeroot` or a VM to limit potential impact.

### For more information

General questions about the impact of the advisory / changes made in the 3.6.0 release can be asked in the:

* [Singularity Slack Channel](https://bit.ly/2m0g3lX)
* [Singularity Mailing List](https://groups.google.com/a/lbl.gov/forum/??sdf%7Csort:date#!forum/singularity)

Any sensitive security concerns should be directed to: security@sylabs.io

See our Security Policy here: https://sylabs.io/security-policy
references
0
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00070.html
reference_id
reference_type
scores
0
value 8.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00070.html
1
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00071.html
reference_id
reference_type
scores
0
value 8.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00071.html
2
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00009.html
reference_id
reference_type
scores
0
value 8.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00009.html
3
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-15229
reference_id
reference_type
scores
0
value 0.00876
scoring_system epss
scoring_elements 0.75333
published_at 2026-04-21T12:55:00Z
1
value 0.00876
scoring_system epss
scoring_elements 0.75246
published_at 2026-04-02T12:55:00Z
2
value 0.00876
scoring_system epss
scoring_elements 0.75278
published_at 2026-04-04T12:55:00Z
3
value 0.00876
scoring_system epss
scoring_elements 0.75255
published_at 2026-04-07T12:55:00Z
4
value 0.00876
scoring_system epss
scoring_elements 0.75298
published_at 2026-04-08T12:55:00Z
5
value 0.00876
scoring_system epss
scoring_elements 0.75309
published_at 2026-04-09T12:55:00Z
6
value 0.00876
scoring_system epss
scoring_elements 0.7533
published_at 2026-04-11T12:55:00Z
7
value 0.00876
scoring_system epss
scoring_elements 0.75308
published_at 2026-04-12T12:55:00Z
8
value 0.00876
scoring_system epss
scoring_elements 0.75297
published_at 2026-04-13T12:55:00Z
9
value 0.00876
scoring_system epss
scoring_elements 0.75336
published_at 2026-04-16T12:55:00Z
10
value 0.00876
scoring_system epss
scoring_elements 0.75343
published_at 2026-04-18T12:55:00Z
11
value 0.00876
scoring_system epss
scoring_elements 0.75243
published_at 2026-04-01T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-15229
4
reference_url https://github.com/hpcng/singularity/blob/v3.6.4/CHANGELOG.md#security-related-fixes
reference_id
reference_type
scores
0
value 8.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/hpcng/singularity/blob/v3.6.4/CHANGELOG.md#security-related-fixes
5
reference_url https://github.com/hpcng/singularity/commit/eba3dea260b117198fdb6faf41f2482ab2f8d53e
reference_id
reference_type
scores
0
value 8.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/hpcng/singularity/commit/eba3dea260b117198fdb6faf41f2482ab2f8d53e
6
reference_url https://github.com/hpcng/singularity/pull/5611
reference_id
reference_type
scores
0
value 8.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/hpcng/singularity/pull/5611
7
reference_url https://github.com/hpcng/singularity/security/advisories/GHSA-7gcp-w6ww-2xv9
reference_id
reference_type
scores
0
value 8.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/hpcng/singularity/security/advisories/GHSA-7gcp-w6ww-2xv9
8
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-15229
reference_id
reference_type
scores
0
value 8.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2020-15229
9
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972212
reference_id 972212
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972212
fixed_packages
0
url pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
purl pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@3.9.5%252Bds1-2%3Fdistro=sid
1
url pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
purl pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@4.1.5%252Bds4-1%3Fdistro=sid
aliases CVE-2020-15229, GHSA-7gcp-w6ww-2xv9
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-qz7w-3qvp-ykan
5
url VCID-v5ff-gwhq-sqbh
vulnerability_id VCID-v5ff-gwhq-sqbh
summary Sylabs Singularity 3.5.x and 3.6.x, and SingularityPRO before 3.5-8, has an Incorrect Check of a Function's Return Value.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-33622
reference_id
reference_type
scores
0
value 0.00547
scoring_system epss
scoring_elements 0.67778
published_at 2026-04-01T12:55:00Z
1
value 0.00547
scoring_system epss
scoring_elements 0.67812
published_at 2026-04-02T12:55:00Z
2
value 0.00547
scoring_system epss
scoring_elements 0.67831
published_at 2026-04-04T12:55:00Z
3
value 0.00547
scoring_system epss
scoring_elements 0.67811
published_at 2026-04-07T12:55:00Z
4
value 0.00547
scoring_system epss
scoring_elements 0.67862
published_at 2026-04-08T12:55:00Z
5
value 0.00547
scoring_system epss
scoring_elements 0.67876
published_at 2026-04-09T12:55:00Z
6
value 0.00547
scoring_system epss
scoring_elements 0.67899
published_at 2026-04-11T12:55:00Z
7
value 0.00547
scoring_system epss
scoring_elements 0.67886
published_at 2026-04-12T12:55:00Z
8
value 0.00547
scoring_system epss
scoring_elements 0.67849
published_at 2026-04-13T12:55:00Z
9
value 0.00547
scoring_system epss
scoring_elements 0.67885
published_at 2026-04-16T12:55:00Z
10
value 0.00547
scoring_system epss
scoring_elements 0.67898
published_at 2026-04-18T12:55:00Z
11
value 0.00547
scoring_system epss
scoring_elements 0.67879
published_at 2026-04-21T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-33622
1
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990201
reference_id 990201
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990201
fixed_packages
0
url pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
purl pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@3.9.5%252Bds1-2%3Fdistro=sid
1
url pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
purl pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@4.1.5%252Bds4-1%3Fdistro=sid
aliases CVE-2021-33622
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-v5ff-gwhq-sqbh
6
url VCID-x9mw-wgx6-dyge
vulnerability_id VCID-x9mw-wgx6-dyge
summary
Execution Control List (ECL) Is Insecure in Singularity
### Impact

The Singularity Execution Control List (ECL) allows system administrators to set up a policy that defines rules about what signature(s) must be (or must not be) present on a SIF container image for it to be permitted to run.

In Singularity 3.x versions below 3.6.0, the following issues allow the ECL to be bypassed by a malicious user:

 * Image integrity is not validated when an ECL policy is enforced.
 * The fingerprint required by the ECL is compared against the signature object descriptor(s) in the SIF file, rather than to a cryptographically validated signature. Thus, it is trivial to craft an arbitrary payload which will be permitted to run, even if the attacker does not have access to the private key associated with the fingerprint(s) configured in the ECL.

### Patches

These issues are addressed in Singularity 3.6.0.

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 `legacyinsecure` option that can be set to `legacyinsecure = true` in `ecl.toml` to allow the ECL to 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. The option should be used only to temporarily ease the transition to containers signed with the new 3.6.0 signature format.

### Workarounds

This issue affects any installation of Singularity configured to use the Execution Control List (ECL) functionality. There is no workaround if ECL is required.

### For more information

General questions about the impact of the advisory / changes made in the 3.6.0 release can be asked in the:

* [Singularity Slack Channel](https://bit.ly/2m0g3lX)
* [Singularity Mailing List](https://groups.google.com/a/lbl.gov/forum/??sdf%7Csort:date#!forum/singularity)

Any sensitive security concerns should be directed to: security@sylabs.io

See our Security Policy here: https://sylabs.io/security-policy
references
0
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00046.html
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00046.html
1
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00059.html
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00059.html
2
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00053.html
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00053.html
3
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-13845
reference_id
reference_type
scores
0
value 0.00079
scoring_system epss
scoring_elements 0.23336
published_at 2026-04-21T12:55:00Z
1
value 0.00079
scoring_system epss
scoring_elements 0.23417
published_at 2026-04-09T12:55:00Z
2
value 0.00079
scoring_system epss
scoring_elements 0.23436
published_at 2026-04-11T12:55:00Z
3
value 0.00079
scoring_system epss
scoring_elements 0.23399
published_at 2026-04-12T12:55:00Z
4
value 0.00079
scoring_system epss
scoring_elements 0.23345
published_at 2026-04-13T12:55:00Z
5
value 0.00079
scoring_system epss
scoring_elements 0.23362
published_at 2026-04-16T12:55:00Z
6
value 0.00079
scoring_system epss
scoring_elements 0.23356
published_at 2026-04-18T12:55:00Z
7
value 0.00079
scoring_system epss
scoring_elements 0.23299
published_at 2026-04-01T12:55:00Z
8
value 0.00079
scoring_system epss
scoring_elements 0.23472
published_at 2026-04-02T12:55:00Z
9
value 0.00079
scoring_system epss
scoring_elements 0.23509
published_at 2026-04-04T12:55:00Z
10
value 0.00079
scoring_system epss
scoring_elements 0.23293
published_at 2026-04-07T12:55:00Z
11
value 0.00079
scoring_system epss
scoring_elements 0.23366
published_at 2026-04-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-13845
4
reference_url https://github.com/hpcng/singularity/security/advisories/GHSA-pmfr-63c2-jr5c
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/hpcng/singularity/security/advisories/GHSA-pmfr-63c2-jr5c
5
reference_url https://medium.com/sylabs
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://medium.com/sylabs
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-13845
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2020-13845
7
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965040
reference_id 965040
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965040
fixed_packages
0
url pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
purl pkg:deb/debian/singularity-container@3.9.5%2Bds1-2?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@3.9.5%252Bds1-2%3Fdistro=sid
1
url pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
purl pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@4.1.5%252Bds4-1%3Fdistro=sid
aliases CVE-2020-13845, GHSA-pmfr-63c2-jr5c
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-x9mw-wgx6-dyge
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@3.9.5%252Bds1-2%3Fdistro=sid