{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-32635","id":"CVE-2021-32635","title":"Action Commands (run/shell/exec) Against Library URIs Ignore Configured Remote Endpoint","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 malic","descriptionLong":"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.","published":"2021-05-28T20:20:12.000Z","updated":"2026-10-24T10:50:24.280791814Z","reserved":"2021-05-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","rating":"medium","source":"NVD"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["sylabs singularity"],"affectedProducts":[{"vendor":"sylabs","product":"singularity","defaultStatus":null,"versions":[{"status":"affected","version":">= 3.7.2, <= 3.7.3"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/sylabs/singularity","purl":"pkg:golang/github.com/sylabs/singularity","ranges":[">=3.7.2 <3.7.4"],"fixed":["3.7.4"],"advisory":"GHSA-5mv9-q7fq-9394"}],"cwes":["CWE-923","CWE-20"],"aliases":["GHSA-5mv9-q7fq-9394"],"references":[{"url":"https://github.com/sylabs/singularity/security/advisories/GHSA-5mv9-q7fq-9394","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/sylabs/singularity/releases/tag/v3.7.4","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/202107-50","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/hpcng/singularity/security/advisories/GHSA-jq42-hfch-42f3","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32635","tags":["advisory"]},{"url":"https://github.com/sylabs/singularity/commit/d52ae9d13979733c5e987a566fae59ed6f1bf796","tags":["web"]},{"url":"https://github.com/sylabs/singularity","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01415,"epssPercentile":0.73318,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-32635","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32635","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-32635","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5mv9-q7fq-9394","ok":true,"note":"GHSA-5mv9-q7fq-9394"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32635","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}