Alerts This Week
Warning Icon 1 714
Alerts This Week
Warning Icon 1 714

Mageia: 2022-0006 Critical: Singularity Malicious Container Threat

mageia
Calendar Grey January 5, 2022
Dist Mageia Esm H88
MGASA-2022-0007 tackles significant vulnerabilities in the authentication mechanism of the framework, improving defense protocols.
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 runn...

Summary

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 resultin...

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.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/D2IU6GJMCV5CQKUQZLHBP6EHSIZZXC3X/

-

- https://www.cve.org/CVERecord?id=CVE-2021-29136

- https://www.cve.org/CVERecord?id=CVE-2021-32635

- https://www.cve.org/CVERecord?id=CVE-2021-41190

Resolution

SRPMS

- 8/core/singularity-3.8.5-1.mga8

Severity
critical
Lowest
Low
Medium
High
Critical

Publication date: 05 Jan 2022
URL: https://advisories.mageia.org/MGASA-2022-0006.html
Type: security
CVE: CVE-2021-29136, CVE-2021-32635, CVE-2021-41190

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here