{"id":"EUVD-2021-1126","revision":null,"records":[{"revision":"80dae0f9627f4041b6e4d0f6d614b8c0","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2020-25040","aliases":[],"title":"Sylabs Singularity through 3.6.2 has Insecure Permissions on temporary directories used in explicit and implicit container build operations, a different vulnerability than CVE-2020-25039.","description":"Sylabs Singularity through 3.6.2 has Insecure Permissions on temporary directories used in explicit and implicit container build operations, a different vulnerability than CVE-2020-25039.","state":0,"publishedAt":"2020-09-16T17:47:17+00:00","modifiedAt":"2024-08-04T15:26:09.173+00:00","affected":[{"ecosystem":"Vendor product","name":"n/a","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"n/a\",\n                    \"vendor\": \"n/a\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"n/a\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://medium.com/sylabs","https://github.com/hpcng/singularity/security/advisories/GHSA-jv9c-w74q-6762","http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00070.html","http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00088.html"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2020-25040","license":"CVE Program Terms of Use","key":"cve-program:CVE-2020-25040","identifiers":["CVE-2020-25040"]},"retained":false,"historicalAffected":[]},{"revision":"80fb22b288cf4b56817fd9668c11b40a","observedAt":"2026-11-24T08:27:32.919+00:00","statement":{"source":"euvd","id":"EUVD-2021-1126","aliases":["CVE-2020-25040","GHSA-jv9c-w74q-6762"],"title":"Sylabs Singularity through 3.6.2 has Insecure Permissions on temporary directories used in explicit and implicit container build operations, a different vulnerability than CVE-2020-25039.","description":"Sylabs Singularity through 3.6.2 has Insecure Permissions on temporary directories used in explicit and implicit container build operations, a different vulnerability than CVE-2020-25039.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://medium.com/sylabs","https://github.com/hpcng/singularity/security/advisories/GHSA-jv9c-w74q-6762","http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00070.html","http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00088.html"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1126","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Sep 16, 2020, 5:47:17 PM","dateUpdated":"Aug 4, 2024, 3:26:09 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2020:1497-1","title":"Security update for singularity","vulnerabilityIds":["CVE-2020-25039","CVE-2020-25040"]},{"id":"openSUSE-SU-2020:1529-1","title":"Security update for singularity","vulnerabilityIds":["CVE-2020-25039","CVE-2020-25040"]},{"id":"openSUSE-SU-2024:11384-1","title":"singularity-3.8.3-1.2 on GA media","vulnerabilityIds":["CVE-2018-12021","CVE-2018-19295","CVE-2019-11328","CVE-2019-19724","CVE-2020-13845","CVE-2020-13846","CVE-2020-13847","CVE-2020-15229","CVE-2020-25039","CVE-2020-25040","CVE-2021-29136","CVE-2021-32635"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-1126","identifiers":["EUVD-2021-1126","CVE-2020-25040","GHSA-jv9c-w74q-6762"]},"retained":false,"historicalAffected":[]},{"revision":"cc883edffb8941398b7b787581b4218c","observedAt":"2026-10-24T16:17:26.926+00:00","statement":{"source":"nvd","id":"CVE-2020-25040","aliases":[],"title":"Sylabs Singularity through 3.6.2 has Insecure Permissions on temporary directories used in explicit and implicit container build operations, a different vulnerability than CVE-2020-25039.","description":"Sylabs Singularity through 3.6.2 has Insecure Permissions on temporary directories used in explicit and implicit container build operations, a different vulnerability than CVE-2020-25039.","state":0,"publishedAt":"2020-09-16T18:15:13.547+00:00","modifiedAt":"2026-06-17T03:06:16.777+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"severity":"MEDIUM"}],"references":["http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00070.html","http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00088.html","https://github.com/hpcng/singularity/security/advisories/GHSA-jv9c-w74q-6762","https://medium.com/sylabs"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2020-25040","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-668"],"productCriteria":["cpe:2.3:a:sylabs:singularity:*:*:*:*:*:*:*:*","cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*"],"sourceDates":{"published":"2020-09-16T18:15:13.547","lastModified":"2026-06-17T03:06:16.777"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2020-25040","identifiers":["CVE-2020-25040"]},"retained":false,"historicalAffected":[]},{"revision":"9a36884533814b439ee96646d4008bd7","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-jv9c-w74q-6762","aliases":["CVE-2020-25040"],"title":"Insecure permissions on build temporary rootfs in Singularity","description":"### Impact\n\nInsecure permissions on temporary directories used in explicit and implicit container build operations.\n\nWhen 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.\n\n### Patches\n\nThis issue is addressed in Singularity 3.6.3.\n\nAll users are advised to upgrade to 3.6.3.\n\n### Workarounds\n\nThe 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.\n\n### For more information\n\nGeneral questions about the impact of the advisory / changes made in the 3.6.0 release can be asked in the:\n\n* [Singularity Slack Channel](https://bit.ly/2m0g3lX)\n* [Singularity Mailing List](https://groups.google.com/a/lbl.gov/forum/??sdf%7Csort:date#!forum/singularity)\n\nAny sensitive security concerns should be directed to: security@sylabs.io\n\nSee our Security Policy here: https://sylabs.io/security-policy","state":0,"publishedAt":"2021-05-24T16:56:23+00:00","modifiedAt":"2026-07-08T05:59:53.7789956+00:00","affected":[{"ecosystem":"Go","name":"github.com/sylabs/singularity","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.6.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/hpcng/singularity/security/advisories/GHSA-jv9c-w74q-6762","https://nvd.nist.gov/vuln/detail/CVE-2020-25040","https://medium.com/sylabs","http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00070.html","http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00088.html"],"sourceUrl":"https://github.com/advisories/GHSA-jv9c-w74q-6762","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-jv9c-w74q-6762","identifiers":["GHSA-jv9c-w74q-6762","CVE-2020-25040"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T16:30:51.6399626+00:00","complete":true,"records":1796,"lastAttemptAt":"2026-11-25T16:30:51.6399626+00:00","lastSuccessAt":"2026-11-25T16:30:52.034918+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:52.0349214+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-eff9d08c8f0fa32ddca8b3faeb4fb15ed8fd3be7ad4cea54f526276594975076","complete":true,"records":432225,"lastAttemptAt":"2026-11-25T16:28:38.1682659+00:00","lastSuccessAt":"2026-11-25T16:28:38.0153955+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:28:38.1682659+00:00","snapshotPublishedAt":"2026-11-25T16:27:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-fe3c1be5a79449a09eb76cfe4a645b7c","complete":false,"records":13939,"lastAttemptAt":"2026-11-25T16:41:38.9086864+00:00","lastSuccessAt":"2026-11-25T16:41:37.884+00:00","error":"153 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T16:41:37.884+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13628,"expectedIdentifiers":13987,"failedIdentifiers":153},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T16:30:51.6399626+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T16:30:51.6399626+00:00","lastSuccessAt":"2026-11-25T16:30:52.035995+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:52.0359954+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b1697be945394a11bfe4d90c22645cd8","complete":true,"records":13951,"lastAttemptAt":"2026-11-25T16:30:53.1656546+00:00","lastSuccessAt":"2026-11-25T16:30:53.16+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:53.16+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13987,"expectedIdentifiers":13987,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T16:30:51.4950342+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.4950342+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T16:28:38.3174258+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:28:38.3174258+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T16:30:51.5978795+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.5978795+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-93117e9f4237570c8330a2370f4c3e20e3306a5fa2ad4a5c945eb39d2bbbbbda","complete":true,"records":233129,"lastAttemptAt":"2026-11-25T16:30:51.3700222+00:00","lastSuccessAt":"2026-11-25T16:30:50.1279622+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.3700222+00:00","snapshotPublishedAt":"2026-11-25T15:33:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}