Skip to content
Fencer Intel
critical 9.8

CVE-2021-25315 json

salt-api unauthenticated remote code execution

published 5y ago modified 4mo ago also GHSA-pmj6-9f8c-8g2m , PYSEC-2021-891 , EUVD-2022-4798

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.3%
EPSS 2.3% chance of exploitation in 30 days, percentile 83%
public exploits
0
none known

Summary

CWE - CWE-287: Improper Authentication vulnerability in SUSE Linux Enterprise Server 15 SP 3; openSUSE Tumbleweed allows local attackers to execute arbitrary code via salt without the need to specify valid credentials. This issue affects: SUSE Linux Enterprise Server 15 SP 3 salt versions prior to 3002.2-3. openSUSE Tumbleweed salt version 3002.2-2.1 and prior versions. This issue affects: SUSE Linux Enterprise Server 15 SP 3 salt versions prior to 3002.2-3. openSUSE Tumbleweed salt version 3002.2-2.1 and prior versions.

Patch / fix

  • pypi salt 3002.2
  • SUSE SUSE Linux Enterprise Server 15 SP 3 3002.2-3
  • salt SLES 15 SP1-BCL, SLE Module for Transactional Server 15 SP2, SLE Module for Server Applications 15 SP2 +10 more 3002.2-37.1
  • python-distro SLE Module for Python 2 15 SP3, SLE Module for Python 2 15 SP2, SLE Module for Basesystem 15 SP3 +2 more 1.5.0-3.5.1
  • salt SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 3002.2-8.41.8.1

suse advisories SUSE-SU-2021:2106-1SUSE-SU-2021:2105-1SUSE-SU-2021:2104-1

  • python-distro openSUSE Leap 15.3 1.5.0-3.5.1
  • salt openSUSE Leap 15.2 3002.2-lp152.3.36.1

opensuse advisories openSUSE-SU-2021:2106-1openSUSE-SU-2021:0899-1

Is CVE-2021-25315 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-25315 updated cvss 7.8

salt: salt-api unauthenticated remote code exec

  • Red Hat Ceph Storage 2 salt, salt-minion
    affected: no fix planned “Out of support scope”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.29% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P
OSV 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi salt
<3002.2
3002.2

Affected products

  • SUSE SUSE Linux Enterprise Server 15 SP 3
  • openSUSE Tumbleweed

Classification

Weakness
  • CWE-287 Improper Authentication
  • CWE-303 Incorrect Implementation of Authentication Algorithm

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.