CVE-2019-19724: Singularity insecure permissions

Summary

24/05/2022
Yes i
High
7.5

CVE-2019-19724: Singularity insecure permissions. Affects github.com/sylabs/singularity versions >= 3.3.0, < 3.5.2. Fixed in 3.5.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Singularity is an open-source container platform designed to enable secure and reproducible scientific workflows. It allows users to create and run containers that encapsulate their applications and dependencies. Singularity versions from 3.3.0 to 3.5.1 are affected by an insecure permissions vulnerability. When Singularity creates the $HOME/.singularity directory, it sets insecure permissions (777) on it. This vulnerability could potentially lead to an information leak and malicious redirection of operations performed against Sylabs cloud services.

Vulnerability Detail

The insecure permissions (777) set on the $HOME/.singularity directory can allow unauthorized access to sensitive information stored within the directory. An attacker could exploit this vulnerability to read or modify files, potentially leading to the exposure of confidential data or the execution of unauthorized actions against Sylabs cloud services. The vulnerability has a CVSS score of 7.5, indicating a high severity level.

How To Fix

Latest published version: v3.1.1+incompatible as of 23 Oct 2026

go get github.com/sylabs/singularity@v3.1.1+incompatible

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.5.2

This is the first release that contains the fix.

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

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can manually change the permissions of the $HOME/.singularity directory to restrict access. The recommended permissions are 700, which only allow the owner to read, write, and execute files within the directory. To change the permissions, execute the following command:

chmod 700 $HOME/.singularity

Conclusion

In summary, Singularity versions 3.3.0 to 3.5.1 are affected by an insecure permissions vulnerability that can lead to information leaks and unauthorized operations against Sylabs cloud services. Users should update to a non-affected version of Singularity to mitigate this issue. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/sylabs/singularity →

Share this vulnerability

FAQ

Singularity is an open-source container platform used for creating and running containers that encapsulate scientific workflows.

Versions 3.3.0 to 3.5.1 of Singularity are affected by this insecure permissions vulnerability.

This vulnerability could result in an information leak and unauthorized operations against Sylabs cloud services.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

To fix this vulnerability, update to a Singularity version beyond 3.5.1.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/sylabs/singularity.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: v3.1.1+incompatible as of 23 Oct 2026

go get github.com/sylabs/singularity@v3.1.1+incompatible

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.5.2

This is the first release that contains the fix.

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

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback