CVE-2013-4437: Salt SaltStack Insecurely Uses /tmp Vulnerability
HIGHCVE-2013-4437 is a HIGH saltstack insecurely uses /tmp vulnerability (General Security Weakness) affecting Salt libraries in the PyPI ecosystem. The issue involves saltstack insecurely uses /tmp. Remediation is available by upgrading affected packages to version 0.17.1.
CVE-2013-4437 at a Glance
How to Fix CVE-2013-4437
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>=0.17.1
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-2013-4437, 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 0.17.1), 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 General Security Weakness. 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-2013-4437 Affected Salt Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
salt
|
PyPI |
≥ 0.17.0
< 0.17.1
All 1 versions
0.17.0
|
0.17.1
|
References
Frequently Asked Questions
What is CVE-2013-4437?
Which Salt versions are affected?
What version fixes CVE-2013-4437?
Is salt affected?
What CWE is associated with CVE-2013-4437?
How can I check PyPI dependencies for CVE-2013-4437?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qr3x-v97p-42xw",
"modified" : "2024-10-26T22:40:51Z",
"published" : "2022-05-17T04:58:29Z",
"aliases" : [ "CVE-2013-4437" ],
"summary" : "SaltStack insecurely uses /tmp",
"details" : "Unspecified vulnerability in salt-ssh in Salt (aka SaltStack) 0.17.0 has unspecified impact and vectors related to \"insecure Usage of /tmp.\"",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "salt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.17.0"
}, {
"fixed" : "0.17.1"
} ]
} ],
"versions" : [ "0.17.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4437"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2013-27.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/saltstack/salt"
}, {
"type" : "WEB",
"url" : "http://docs.saltstack.com/topics/releases/0.17.1.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2013/10/18/3"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-30T14:39:51Z",
"nvd_published_at" : "2013-11-05T18:55:00Z"
}
}