{"id":"EUVD-2021-1270","enisaUuid":"c093bef2-e207-3567-bd7c-5b24f099c0a4","description":"Singularity is an open source container platform. In verions 3.7.2 and 3.7.3, Dde to incorrect use of a default URL, `singularity` action commands (`run`/`shell`/`exec`) specifying a container using a `library://` URI will always attempt to retrieve the container from the default remote endpoint (`cloud.sylabs.io`) rather than the configured remote endpoint. An attacker may be able to push a malicious container to the default remote endpoint with a URI that is identical to the URI used by a victim with a non-default remote endpoint, thus executing the malicious container. Only action commands (`run`/`shell`/`exec`) against `library://` URIs are affected. Other commands such as `pull` / `push` respect the configured remote endpoint. The vulnerability is patched in Singularity version 3.7.4. Two possible workarounds exist: Users can only interact with the default remote endpoint, or an installation can have an execution control list configured to restrict execution to containers signed with specific secure keys.","datePublished":"May 28, 2021, 8:20:12 PM","dateUpdated":"Aug 3, 2024, 11:25:31 PM","baseScore":6.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","references":"https://github.com/sylabs/singularity/security/advisories/GHSA-5mv9-q7fq-9394\nhttps://github.com/sylabs/singularity/releases/tag/v3.7.4\nhttps://security.gentoo.org/glsa/202107-50\n","aliases":"CVE-2021-32635\nGHSA-5mv9-q7fq-9394\n","assigner":"GitHub_M","epss":1.42,"enisaIdProduct":[{"id":"6db5e5b3-8c90-319e-b2b9-9a7558014f8c","product":{"name":"singularity","vendor":{"name":"sylabs"}},"product_version":"3.7.2, ≤ 3.7.3"}],"enisaIdVendor":[{"id":"9c49a3b1-c0fc-37e9-b723-48200bff5834","vendor":{"name":"sylabs"}}],"enisaIdVulnerability":[{"id":"13efd830-67f2-3f86-85e1-aeb7370c2008","vulnerability":{"id":"CVE-2021-32635","description":"Singularity is an open source container platform. In verions 3.7.2 and 3.7.3, Dde to incorrect use of a default URL, `singularity` action commands (`run`/`shell`/`exec`) specifying a container using a `library://` URI will always attempt to retrieve the container from the default remote endpoint (`cloud.sylabs.io`) rather than the configured remote endpoint. An attacker may be able to push a malicious container to the default remote endpoint with a URI that is identical to the URI used by a victim with a non-default remote endpoint, thus executing the malicious container. Only action commands (`run`/`shell`/`exec`) against `library://` URIs are affected. Other commands such as `pull` / `push` respect the configured remote endpoint. The vulnerability is patched in Singularity version 3.7.4. Two possible workarounds exist: Users can only interact with the default remote endpoint, or an installation can have an execution control list configured to restrict execution to containers signed with specific secure keys.","datePublished":"May 28, 2021, 8:20:12 PM","dateUpdated":"Aug 3, 2024, 11:25:31 PM","status":"PUBLISHED","baseScore":6.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","references":"https://github.com/sylabs/singularity/security/advisories/GHSA-5mv9-q7fq-9394\nhttps://github.com/sylabs/singularity/releases/tag/v3.7.4\nhttps://security.gentoo.org/glsa/202107-50\n","enisa_id":"EUVD-2021-1270\n","assigner":"GitHub_M","epss":1.42,"dataProcessed":"Nov 23, 2026, 7:23:51 AM","vulnerabilityProduct":[{"id":"70d94f13-975d-3ccc-affd-90dd050ad20a","product":{"name":"singularity","vendor":{"name":"sylabs"}},"product_version":"3.7.2, ≤ 3.7.3"}],"vulnerabilityVendor":[{"id":"43c0bda7-bf9b-3948-9818-9d030e1bb35f","vendor":{"name":"sylabs"}}]}},{"id":"a634ee57-eaf4-3cf9-8045-673d99ca5afd","vulnerability":{"id":"GHSA-5mv9-q7fq-9394","description":"Action Commands (run/shell/exec) Against Library URIs Ignore Configured Remote Endpoint","datePublished":"Jun 1, 2021, 9:21:01 PM","dateUpdated":"Jan 10, 2023, 4:08:38 PM","baseScore":null,"references":"https://github.com/hpcng/singularity/security/advisories/GHSA-jq42-hfch-42f3\nhttps://github.com/sylabs/singularity/security/advisories/GHSA-5mv9-q7fq-9394\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-32635\nhttps://github.com/sylabs/singularity/commit/d52ae9d13979733c5e987a566fae59ed6f1bf796\nhttps://github.com/sylabs/singularity\nhttps://github.com/sylabs/singularity/releases/tag/v3.7.4\nhttps://security.gentoo.org/glsa/202107-50\n","enisa_id":"EUVD-2021-1270\n","aliases":"GHSA-5mv9-q7fq-9394\nCVE-2021-32635\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[{"id":"dcb22b54-4de3-3f1d-a81f-1dc94d97921e","advisory":{"id":"openSUSE-SU-2024:11384-1","description":"singularity-3.8.3-1.2 on GA media","summary":"singularity-3.8.3-1.2 on GA media","datePublished":"Jun 15, 2024, 12:00:00 AM","dateUpdated":"Nov 15, 2026, 7:30:15 PM","baseScore":0.0,"references":"https://ftp.suse.com/pub/projects/security/csaf/2024/opensuse-su-2024_11384-1.json\nhttps://www.suse.com/security/cve/CVE-2018-12021/\nhttps://www.suse.com/security/cve/CVE-2018-19295/\nhttps://www.suse.com/security/cve/CVE-2019-11328/\nhttps://www.suse.com/security/cve/CVE-2019-19724/\nhttps://www.suse.com/security/cve/CVE-2020-13845/\nhttps://www.suse.com/security/cve/CVE-2020-13846/\nhttps://www.suse.com/security/cve/CVE-2020-13847/\nhttps://www.suse.com/security/cve/CVE-2020-15229/\nhttps://www.suse.com/security/cve/CVE-2020-25039/\nhttps://www.suse.com/security/cve/CVE-2020-25040/\nhttps://www.suse.com/security/cve/CVE-2021-29136/\nhttps://www.suse.com/security/cve/CVE-2021-32635/\n","aliases":"CVE-2018-12021\nCVE-2018-19295\nCVE-2019-11328\nCVE-2019-19724\nCVE-2020-13845\nCVE-2020-13846\nCVE-2020-13847\nCVE-2020-15229\nCVE-2020-25039\nCVE-2020-25040\nCVE-2021-29136\nCVE-2021-32635\n","source":{"id":21,"name":"csaf_opensuse"},"advisoryProduct":[{"id":"488eea2d-6770-35ee-9202-53df5b31661f","product":{"name":"singularity-0:3.8.3-1.2.x86_64","vendor":{"name":"SUSE"}}},{"id":"5c7db079-a4ca-3191-8457-683228c1baf9","product":{"name":"singularity-3.8.3-1.2.ppc64le","vendor":{"name":"SUSE"}}},{"id":"63e2f984-33c7-39ef-837c-d31541badcb4","product":{"name":"singularity-0:3.8.3-1.2.aarch64","vendor":{"name":"SUSE"}}},{"id":"6586b744-d5d1-356d-9601-4f36f96be335","product":{"name":"openSUSE Tumbleweed","vendor":{"name":"SUSE"}}},{"id":"729f82c1-0672-3f32-823b-7815b94f3faa","product":{"name":"singularity-0:3.8.3-1.2.s390x","vendor":{"name":"SUSE"}}},{"id":"a85b7254-e6bc-35f0-ae0b-45dda4b79c77","product":{"name":"singularity-3.8.3-1.2.x86_64","vendor":{"name":"SUSE"}}},{"id":"a88bfdf8-2149-3af5-9519-d85f9761ae66","product":{"name":"singularity-3.8.3-1.2.s390x","vendor":{"name":"SUSE"}}},{"id":"beceb9d5-9f97-3488-9a61-d1cf8be7fb2f","product":{"name":"singularity-0:3.8.3-1.2.ppc64le","vendor":{"name":"SUSE"}}},{"id":"d80cec77-73a6-3d98-afba-5e905368ed6c","product":{"name":"singularity-3.8.3-1.2.aarch64","vendor":{"name":"SUSE"}}}]}}]}