CVE-2016-9639: Salt Salt Allows Deleted Minions To Vulnerability

CRITICAL
Advisory Identifier: GHSA-hvmj-356c-gpf4
CVSS 9.1
CWE-284
Published
Advisory Summary

CVE-2016-9639 is a CRITICAL (CVSS 9.1) salt allows deleted minions to vulnerability (CWE-284: Improper Access Control) affecting Salt libraries in the PyPI ecosystem. The issue involves salt allows deleted minions to read or write to minions with the same id. Remediation is available by upgrading affected packages to version 2015.8.11.

CVE-2016-9639 at a Glance

CVE Identifier CVE-2016-9639
GHSA Identifier GHSA-hvmj-356c-gpf4
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification CWE-284: Improper Access Control
Affected Product Salt
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 9.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2016-9639

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: 2015.8.11
pip install salt>=2015.8.11
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-2016-9639, 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 2015.8.11), 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. 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

Salt before 2015.8.11 allows deleted minions to read or write to minions with the same id, related to caching.

CVE-2016-9639 Affected Salt Versions

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

References

Frequently Asked Questions

What is CVE-2016-9639?
CVE-2016-9639 is a security vulnerability in Salt involving Salt allows deleted minions to read or write to minions with the same id under CWE-284: Improper Access Control.
Which Salt versions are affected?
Affected versions include releases prior to 2015.8.11 across affected packages: salt.
What version fixes CVE-2016-9639?
Upgrading to 2015.8.11 (or the latest patched release for your respective branch) resolves the vulnerability.
Is salt affected?
Yes, salt is affected in releases prior to 2015.8.11. Upgrade your dependency to 2015.8.11 or later.
What is the CVSS score of CVE-2016-9639?
CVE-2016-9639 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2016-9639?
CVE-2016-9639 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check PyPI dependencies for CVE-2016-9639?
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-hvmj-356c-gpf4",
  "modified" : "2024-10-21T21:30:27Z",
  "published" : "2022-05-17T03:00:54Z",
  "aliases" : [ "CVE-2016-9639" ],
  "summary" : "Salt allows deleted minions to read or write to minions with the same id",
  "details" : "Salt before 2015.8.11 allows deleted minions to read or write to minions with the same id, related to caching.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "salt"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2015.8.11"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-9639"
  }, {
    "type" : "WEB",
    "url" : "https://docs.saltproject.io/en/latest/topics/releases/2015.8.11.html#new-master-configuration-parameter"
  }, {
    "type" : "WEB",
    "url" : "https://docs.saltstack.com/en/2015.8/ref/configuration/master.html#rotate-aes-key"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2017-34.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/saltstack/salt"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200227212146/http://www.securityfocus.com/bid/94553"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2016/11/25/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2016/11/25/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-30T08:34:20Z",
    "nvd_published_at" : "2017-02-07T17:59:00Z"
  }
}