CVE-2014-3563: Salt SaltStack Salt Insecure Temporary File Vulnerability

HIGH
Advisory Identifier: GHSA-mfr3-9cj8-h2qm
CWE-59
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2014-3563
GHSA Identifier GHSA-mfr3-9cj8-h2qm
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected Product Salt
Package Ecosystem PyPI
Published Date
Last Updated

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.

salt fixed: 2014.1.10
pip install salt>=2014.1.10
Verify Direct and Transitive Dependencies

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

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.

CVE-2014-3563 Affected Salt Versions

1 component(s)
Fixed Versions:
2014.1.10
Product / Package Ecosystem Affected Versions Fixed Version
salt
PyPI
< 2014.1.10
2014.1.10

References

Frequently Asked Questions

What is CVE-2014-3563?
CVE-2014-3563 is a security vulnerability in Salt involving SaltStack Salt Insecure Temporary File Creation under CWE-59: Improper Link Resolution Before File Access ('Link Following').
Which Salt versions are affected?
Affected versions include releases prior to 2014.1.10 across affected packages: salt.
What version fixes CVE-2014-3563?
Upgrading to 2014.1.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is salt affected?
Yes, salt is affected in releases prior to 2014.1.10. Upgrade your dependency to 2014.1.10 or later.
What CWE is associated with CVE-2014-3563?
CVE-2014-3563 is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following') (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.).
How can I check PyPI dependencies for CVE-2014-3563?
Run the dependency tree command: 'pip show salt'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}