CVE-2014-3563: Salt SaltStack Salt Insecure Temporary File Vulnerability
HIGHCVE-2014-3563 is a HIGH saltstack salt insecure temporary file vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Salt libraries in the PyPI ecosystem. The issue involves saltstack salt insecure temporary file creation. Remediation is available by upgrading affected packages to version 2014.1.10.
CVE-2014-3563 at a Glance
How to Fix CVE-2014-3563
To remediate this vulnerability, upgrade all affected Salt dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install salt>=2014.1.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show salt
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2014-3563, inspect your installed packages using pip:
pip show salt
Analyze the terminal output to locate any version of Salt in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2014.1.10), your application is affected.
Note: The pip show salt command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. In Salt, 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-2014-3563 Affected Salt Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
salt
|
PyPI |
< 2014.1.10
|
2014.1.10
|
References
Frequently Asked Questions
What is CVE-2014-3563?
Which Salt versions are affected?
What version fixes CVE-2014-3563?
Is salt affected?
What CWE is associated with CVE-2014-3563?
How can I check PyPI dependencies for CVE-2014-3563?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mfr3-9cj8-h2qm",
"modified" : "2024-10-21T21:23:08Z",
"published" : "2022-05-17T01:24:39Z",
"aliases" : [ "CVE-2014-3563" ],
"summary" : "SaltStack Salt Insecure Temporary File Creation",
"details" : "Multiple unspecified vulnerabilities in Salt (aka SaltStack) before 2014.1.10 allow local users to have an unspecified impact via vectors related to temporary file creation in (1) seed.py, (2) salt-ssh, or (3) salt-cloud.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "salt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2014.1.10"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3563"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/95392"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2014-18.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/saltstack/salt"
}, {
"type" : "WEB",
"url" : "http://docs.saltstack.com/en/latest/topics/releases/2014.1.10.html"
}, {
"type" : "WEB",
"url" : "http://seclists.org/oss-sec/2014/q3/428"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-59" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-22T22:19:59Z",
"nvd_published_at" : "2014-08-22T17:55:00Z"
}
}