Updated singularity packages fix security vulnerability
Publication date: 05 Jan 2022Modification date: 05 Jan 2022
Type: security
Affected Mageia releases : 8
CVE: CVE-2021-29136 , CVE-2021-32635 , CVE-2021-41190
Description
A dependency used to extract docker/OCI image layers can be tricked into modifying host files by creating a malicious layer that has a symlink with the name "." (or "/"), when running as root. (CVE-2021-29136) 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. (CVE-2021-32635) If a Content-Type header changed between two pulls of the same digest, a client may interpret the resulting content differently. (CVE-2021-41190)
References
- https://bugs.mageia.org/show_bug.cgi?id=29027
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/BMX7XV7YNNNOVKKIOOPNENIXY64H4ZEY/
- https://github.com/sylabs/singularity/releases/tag/v3.7.4
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/U5WJLLGD3LSUWRS73C4NPIWYTMST4QO5/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/D2IU6GJMCV5CQKUQZLHBP6EHSIZZXC3X/
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/L3AGIEOXZIUUEYYMWKJCJCQI7V235UTR/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29136
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32635
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41190
SRPMS
8/core
- singularity-3.8.5-1.mga8