Skip to main content

CVE-2020-25592 — Vulnerability in salt — CVE Details

CRITICAL

SaltStack Salt Improper Validation of eauth credentials and tokens in salt-netapi

Published May 24, 2022Updated October 22, 2024Source: OSV

What Should I Do?

Fix Within 2-4 Weeks

Moderate exploitation risk (57.73% probability in 30 days). Schedule remediation soon.

Does your project use an affected salt version?

Paste your requirements.txt to check it for CVE-2020-25592 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my requirements.txt

Summary

In SaltStack the salt-netapi improperly validates eauth credentials and tokens. A user can bypass authentication and invoke Salt SSH.

Advisory Timeline

  • First published May 24, 2022 (1647 days ago).
  • Last revised October 22, 2024 — 882 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update salt to 3002.1 or later
pip install "salt>=3002.1"
pip
Update salt to 3001.3 or later
pip install "salt>=3001.3"
pip
Update salt to 3000.5 or later
pip install "salt>=3000.5"
pip
Update salt to 2018.3.5 or later
pip install "salt>=2018.3.5"
pip
Update salt to 2016.3.8 or later
pip install "salt>=2016.3.8"
pip
Update salt to 2015.8.13 or later
pip install "salt>=2015.8.13"
pip
Update salt to 2019.2.7 or later
pip install "salt>=2019.2.7"
pip
Update salt to 2017.7.8 or later
pip install "salt>=2017.7.8"
pip
Update salt to 2016.11.10 or later
pip install "salt>=2016.11.10"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (9)

Affects 1 ecosystem: PyPI (1).

PackageFixed In
salt PyPI · Affected: 30023002.1
salt PyPI · Affected: 3001, 3001.1, 3001.23001.3
salt PyPI · Affected: 3000, 3000.1, 3000.2, 3000.3 (+1 more)3000.5
salt PyPI · Affected: 2018.3.0, 2018.3.0rc1, 2018.3.1, 2018.3.2 (+2 more)2018.3.5
salt PyPI · Affected: 2016.3.0, 2016.3.1, 2016.3.2, 2016.3.3 (+4 more)2016.3.8
salt PyPI · Affected: 0.10.0, 0.10.1, 0.10.2, 0.10.3 (+106 more)2015.8.13
salt PyPI · Affected: 2019.2.0, 2019.2.1, 2019.2.2, 2019.2.3 (+3 more)2019.2.7
salt PyPI · Affected: 2017.7.0, 2017.7.0rc1, 2017.7.1, 2017.7.2 (+5 more)2017.7.8
salt PyPI · Affected: 2016.11.0, 2016.11.1, 2016.11.2, 2016.11.3 (+6 more)2016.11.10

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-20
    Improper Input ValidationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2020-25592?
SaltStack Salt Improper Validation of eauth credentials and tokens in salt-netapi. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2020-25592?
CVE-2020-25592 affects salt. It has a 57.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-25592 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
57.73%
EPSS percentile: 99.3

This places it in the top 5% of EPSS-scored vulnerabilities — 99.3% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

GHSA-29j3-2446-5j4w
PYSEC-2020-106

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my requirements.txt