CVE-2019-19724: Github.com/sylabs/singularity Singularity Insecure Permissions Vulnerability
HIGHCVE-2019-19724 is a HIGH (CVSS 7.5) singularity insecure permissions vulnerability (CWE-276: Incorrect Default Permissions) affecting Github.com/sylabs/singularity libraries in the Go ecosystem. The issue involves singularity insecure permissions. Remediation is available by upgrading affected packages to version 3.5.2.
CVE-2019-19724 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2019-19724
To remediate this vulnerability, upgrade all affected Github.com/sylabs/singularity dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/sylabs/singularity to 3.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/sylabs/singularity
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-19724, inspect your project dependencies for Github.com/sylabs/singularity:
inspect dependencies for github.com/sylabs/singularity
Analyze the terminal output to locate any version of Github.com/sylabs/singularity in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.5.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-276: Incorrect Default Permissions, where during installation, installed file permissions are set to allow anyone to modify those files. In Github.com/sylabs/singularity, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-19724 Affected Github.com/sylabs/singularity Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/sylabs/singularity
|
Go |
≥ 3.3.0
< 3.5.2
|
3.5.2
|
References
Frequently Asked Questions
What is CVE-2019-19724?
Which Github.com/sylabs/singularity versions are affected?
What version fixes CVE-2019-19724?
Is github.com/sylabs/singularity affected?
What is the CVSS score of CVE-2019-19724?
What CWE is associated with CVE-2019-19724?
How can I check Go dependencies for CVE-2019-19724?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mj73-5x75-9phh",
"modified" : "2023-09-26T20:03:52Z",
"published" : "2022-05-24T17:04:02Z",
"aliases" : [ "CVE-2019-19724" ],
"summary" : "Singularity insecure permissions",
"details" : "Insecure permissions (777) are set on `$HOME/.singularity` when it is newly created by Singularity (version from 3.3.0 to 3.5.1), which could lead to an information leak, and malicious redirection of operations performed against Sylabs cloud services.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/sylabs/singularity"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "3.5.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.5.1"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-19724"
}, {
"type" : "WEB",
"url" : "https://github.com/sylabs/singularity/commit/2cda4981812c29f0fb11d3ea6aaf6139f665a631"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/sylabs/singularity"
}, {
"type" : "WEB",
"url" : "https://github.com/sylabs/singularity/releases/tag/v3.5.2"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00025.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00059.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-276" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-18T21:02:11Z",
"nvd_published_at" : "2019-12-18T21:15:00Z"
}
}