VDB
Sign up
HIGH8.8

GHSA-557g-r22w-9wvx

Incorrect Permission Assignment for Critical Resource in Singularity

Quick fix

GHSA-557g-r22w-9wvx — github.com/sylabs/singularity: upgrade to the fixed version with the command below.

go get github.com/sylabs/singularity@v3.2.0

Details

An issue was discovered in Singularity 3.1.0 to 3.2.0-rc2, a malicious user with local/network access to the host system (e.g. ssh) could exploit this vulnerability due to insecure permissions allowing a user to edit files within `/run/singularity/instances/sing/<user>/<instance>`. The manipulation of those files can change the behavior of the starter-suid program when instances are joined resulting in potential privilege escalation on the host.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/sylabs/singularity
Introduced in: 3.1.0Fixed in: 3.2.0
Fixgo get github.com/sylabs/singularity@v3.2.0

References