Singularity: Remote code execution — GLSA 202107-50

A vulnerability in Singularity could result in remote code execution.

Affected packages

sys-cluster/singularity on all architectures
Affected versions < 3.7.4
Unaffected versions >= 3.7.4

Background

Singularity is the container platform for performance sensitive workloads.

Description

Singularity always uses the default remote endpoint, ‘cloud.syslabs.io’, for action commands using the ‘library://’ URI rather than the configured remote endpoint.

Impact

An attacker that that can push a malicious container to the default remote endpoint could execute code on hosts that fetch the container.

Workaround

There is no known workaround at this time.

Resolution

All Singularity users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-cluster/singularity-3.7.4"
 

References

Release date
July 22, 2021

Latest revision
July 22, 2021: 1

Severity
high

Exploitable
remote

Bugzilla entries