Lookup for vulnerable packages by Package URL.

Purlpkg:apk/alpine/singularity@3.6.3-r0?arch=riscv64&distroversion=v3.22&reponame=community
Typeapk
Namespacealpine
Namesingularity
Version3.6.3-r0
Qualifiers
arch riscv64
distroversion v3.22
reponame community
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version3.6.4-r0
Latest_non_vulnerable_version4.1.1-r0
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-kgtj-br2q-1beg
vulnerability_id VCID-kgtj-br2q-1beg
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.73389
published_at 2026-06-08T12:55:00Z
1
value 0.00744
scoring_system epss
scoring_elements 0.73374
published_at 2026-06-04T12:55:00Z
2
value 0.00744
scoring_system epss
scoring_elements 0.7341
published_at 2026-06-05T12:55:00Z
3
value 0.00744
scoring_system epss
scoring_elements 0.73416
published_at 2026-06-06T12:55:00Z
4
value 0.00744
scoring_system epss
scoring_elements 0.73402
published_at 2026-06-07T12: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
fixed_packages
0
url pkg:apk/alpine/singularity@3.6.3-r0?arch=riscv64&distroversion=v3.22&reponame=community
purl pkg:apk/alpine/singularity@3.6.3-r0?arch=riscv64&distroversion=v3.22&reponame=community
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:apk/alpine/singularity@3.6.3-r0%3Farch=riscv64&distroversion=v3.22&reponame=community
aliases CVE-2020-25040, GHSA-jv9c-w74q-6762
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-kgtj-br2q-1beg
1
url VCID-wtzf-nfkt-6bb9
vulnerability_id VCID-wtzf-nfkt-6bb9
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.74656
published_at 2026-06-08T12:55:00Z
1
value 0.00815
scoring_system epss
scoring_elements 0.74649
published_at 2026-06-04T12:55:00Z
2
value 0.00815
scoring_system epss
scoring_elements 0.7468
published_at 2026-06-05T12:55:00Z
3
value 0.00815
scoring_system epss
scoring_elements 0.74685
published_at 2026-06-06T12:55:00Z
4
value 0.00815
scoring_system epss
scoring_elements 0.74673
published_at 2026-06-07T12: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
fixed_packages
0
url pkg:apk/alpine/singularity@3.6.3-r0?arch=riscv64&distroversion=v3.22&reponame=community
purl pkg:apk/alpine/singularity@3.6.3-r0?arch=riscv64&distroversion=v3.22&reponame=community
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:apk/alpine/singularity@3.6.3-r0%3Farch=riscv64&distroversion=v3.22&reponame=community
aliases CVE-2020-25039, GHSA-w6v2-qchm-grj7
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-wtzf-nfkt-6bb9
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:apk/alpine/singularity@3.6.3-r0%3Farch=riscv64&distroversion=v3.22&reponame=community