CVE-2016-1866: Salt Salt Improper Access Control Vulnerability
HIGHCVE-2016-1866 is a HIGH (CVSS 8.1) salt improper access control vulnerability (CWE-284: Improper Access Control) affecting Salt libraries in the PyPI ecosystem. The issue involves salt improper access control. Remediation is available by upgrading affected packages to version 2015.8.4.
CVE-2016-1866 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2016-1866
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>=2015.8.4
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-1866, 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.4), 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
CVE-2016-1866 Affected Salt Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
salt
|
PyPI |
≥ 2015.8.0rc1
< 2015.8.4
|
2015.8.4
|
References
Frequently Asked Questions
What is CVE-2016-1866?
Which Salt versions are affected?
What version fixes CVE-2016-1866?
Is salt affected?
What is the CVSS score of CVE-2016-1866?
What CWE is associated with CVE-2016-1866?
How can I check PyPI dependencies for CVE-2016-1866?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vqh4-crjf-jjxx",
"modified" : "2024-10-21T21:28:49Z",
"published" : "2022-05-14T02:11:54Z",
"aliases" : [ "CVE-2016-1866" ],
"summary" : "Salt Improper Access Control",
"details" : "Salt 2015.8.x before 2015.8.4 does not properly handle clear messages on the minion, which allows man-in-the-middle attackers to execute arbitrary code by inserting packets into the minion-master data stream.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "salt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2015.8.0rc1"
}, {
"fixed" : "2015.8.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-1866"
}, {
"type" : "WEB",
"url" : "https://docs.saltstack.com/en/latest/topics/releases/2015.8.4.html"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2016-23.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/saltstack/salt"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-updates/2016-03/msg00034.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-28T23:19:01Z",
"nvd_published_at" : "2016-04-12T14:59:00Z"
}
}