Every CVE Search/ Get API key

CVE-2021-25315

salt-api unauthenticated remote code execution

9.8 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.29%Up 1.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 9.8

salt-api unauthenticated remote code execution

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.

Record
CVE-2021-25315
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-287
Updated
2026-11-02
EUVDEUVD-2022-4798 9.8

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.

Record
EUVD-2022-4798
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-pmj6-9f8c-8g2m 7.8

Saltstack Salt Unauthenticated Arbitrary Code Execution

A Incorrect Implementation of Authentication Algorithm vulnerability in of SUSE 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 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.

Record
GHSA-pmj6-9f8c-8g2m
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-287, CWE-303
Updated
2026-11-02
NVD 9.8

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.

Record
CVE-2021-25315
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-287
Updated
2026-11-02
OSV 7.8

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.

Record
CVE-2021-25315
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-pmj6-9f8c-8g2m 7.8

Saltstack Salt Unauthenticated Arbitrary Code Execution

A Incorrect Implementation of Authentication Algorithm vulnerability in of SUSE 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 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.

Record
GHSA-pmj6-9f8c-8g2m
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-287, CWE-303
Updated
2026-11-02
Show 9 moreShow less
OSVPYSEC-2021-891 7.8

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.

Record
PYSEC-2021-891
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-25315 9.8

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.

Record
UBUNTU-CVE-2021-25315
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2021:0899-1 No score

Security update for salt

This update for salt fixes the following issues:

Update to Salt release version 3002.2 (jsc#ECO-3212, jsc#SLE-18033, jsc#SLE-18028)

  • Check if dpkgnotify is executable (bsc#1186674)
  • Drop support for Python2. Obsoletes python2-salt package (jsc#SLE-18028)
  • virt module updates
    • network: handle missing ipv4 netmask attribute
    • more network support
    • PCI/USB host devices passthrough support
  • Set distro requirement to oldest supported version in requirements/base.txt
  • Bring missing part of async batch implementation back (CVE-2021-25315, bsc#1182382)
  • Always require python3-distro (bsc#1182293)
  • Remove deprecated warning that breaks minion execution when 'server_id_use_crc' opts is missing
  • Fix pkg states when DEB package has 'all' arch
  • Do not force beacons configuration to be a list.
  • Remove msgpack < 1.0.0 from base requirements (bsc#1176293)
  • msgpack support for version >= 1.0.0 (bsc#1171257)
  • Fix issue parsing errors in ansiblegate state module
  • Prevent command injection in the snapper module (bsc#1185281, CVE-2021-31607)
  • transactional_update: detect recursion in the executor
  • Add subpackage salt-transactional-update (jsc#SLE-18033)
  • Improvements on 'ansiblegate' module (bsc#1185092):
    • New methods: ansible.targets / ansible.discover_playbooks
  • Add support for Alibaba Cloud Linux 2 (Aliyun Linux)
  • Regression fix of salt-ssh on processing targets
  • Update target fix for salt-ssh and avoiding race condition on salt-ssh event processing (bsc#1179831, bsc#1182281)
  • Add notify beacon for Debian/Ubuntu systems
  • Fix zmq bug that causes salt-call to freeze (bsc#1181368)

This update was imported from the SUSE:SLE-15-SP2:Update update project.

Record
openSUSE-SU-2021:0899-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:2106-1 No score

Security update for salt

This update for salt fixes the following issues:

Update to Salt release version 3002.2 (jsc#ECO-3212, jsc#SLE-18033, jsc#SLE-18028)

  • Check if dpkgnotify is executable (bsc#1186674)
  • Drop support for Python2. Obsoletes python2-salt package (jsc#SLE-18028)
  • virt module updates
    • network: handle missing ipv4 netmask attribute
    • more network support
    • PCI/USB host devices passthrough support
  • Set distro requirement to oldest supported version in requirements/base.txt
  • Bring missing part of async batch implementation back (CVE-2021-25315, bsc#1182382)
  • Always require python3-distro (bsc#1182293)
  • Remove deprecated warning that breaks minion execution when 'server_id_use_crc' opts is missing
  • Fix pkg states when DEB package has 'all' arch
  • Do not force beacons configuration to be a list.
  • Remove msgpack < 1.0.0 from base requirements (bsc#1176293)
  • msgpack support for version >= 1.0.0 (bsc#1171257)
  • Fix issue parsing errors in ansiblegate state module
  • Prevent command injection in the snapper module (bsc#1185281, CVE-2021-31607)
  • transactional_update: detect recursion in the executor
  • Add subpackage salt-transactional-update (jsc#SLE-18033)
  • Improvements on 'ansiblegate' module (bsc#1185092):
    • New methods: ansible.targets / ansible.discover_playbooks
  • Add support for Alibaba Cloud Linux 2 (Aliyun Linux)
  • Regression fix of salt-ssh on processing targets
  • Update target fix for salt-ssh and avoiding race condition on salt-ssh event processing (bsc#1179831, bsc#1182281)
  • Add notify beacon for Debian/Ubuntu systems
  • Fix zmq bug that causes salt-call to freeze (bsc#1181368)
Record
openSUSE-SU-2021:2106-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11364-1 No score

python3-salt-3002.2-6.1 on GA media

These are all security issues fixed in the python3-salt-3002.2-6.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11364-1
Updated
2026-11-02
OSVSUSE-SU-2021:0914-1 No score

Security Beta update for Salt

This update fixes the following issues:

salt:

  • virt.network_update: handle missing ipv4 netmask attribute
  • Do not monkey patch yaml loaders: Prevent breaking Ansible filter modules (bsc#1177474)
  • Fix race conditions for corner cases when handling SIGTERM by minion (bsc#1172110)
  • Allow extra_filerefs as sanitized kwargs for SSH client
  • Fix regression on cmd.run when passing tuples as cmd (bsc#1182740)
  • Fix for multiple for security issues (CVE-2020-28243) (CVE-2020-28972) (CVE-2020-35662) (CVE-2021-3148) (CVE-2021-3144) (CVE-2021-25281) (CVE-2021-25282) (CVE-2021-25283) (CVE-2021-25284) (CVE-2021-3197) (bsc#1181550) (bsc#1181556) (bsc#1181557) (bsc#1181558) (bsc#1181559) (bsc#1181560) (bsc#1181561) (bsc#1181562) (bsc#1181563) (bsc#1181564) (bsc#1181565)
  • Implementation of suse_ip execution module to prevent issues with network.managed (bsc#1099976)
  • Add sleep on exception handling on minion connection attempt to the master (bsc#1174855)
  • Allows for the VMware provider to handle CPU and memory hot-add in newer versions of the software. (bsc#1181347)
  • Always require python-certifi (used by salt.ext.tornado)
  • Bring missing part of async batch implementation back (bsc#1182382) (CVE-2021-25315)
  • Master can read grains (bsc#1179696)
Record
SUSE-SU-2021:0914-1
Updated
2026-11-02
OSVSUSE-SU-2021:2104-1 No score

Security update for Salt

This update fixes the following issues:

salt:

Update to Salt release version 3002.2 (jsc#ECO-3212, jsc#SLE-18033, jsc#SLE-18028)

  • Check if dpkgnotify is executable (bsc#1186674)
  • Drop support for Python2. Obsoletes python2-salt package (jsc#SLE-18028)
  • Virt module updates
    • network: handle missing ipv4 netmask attribute
    • more network support
    • PCI/USB host devices passthrough support
  • Set distro requirement to oldest supported version in requirements/base.txt
  • Bring missing part of async batch implementation back (bsc#1182382, CVE-2021-25315)
  • Always require python3-distro (bsc#1182293)
  • Remove deprecated warning that breaks minion execution when 'server_id_use_crc' opts is missing
  • Fix pkg states when DEB package has 'all' arch
  • Do not force beacons configuration to be a list.
  • Remove msgpack < 1.0.0 from base requirements (bsc#1176293)
  • Msgpack support for version >= 1.0.0 (bsc#1171257)
  • Fix issue parsing errors in ansiblegate state module
  • Prevent command injection in the snapper module (bsc#1185281, CVE-2021-31607)
  • Transactional_update: detect recursion in the executor
  • Add subpackage salt-transactional-update (jsc#SLE-18033)
  • Remove duplicate directories from specfile
  • Improvements on 'ansiblegate' module (bsc#1185092):
    • New methods: ansible.targets / ansible.discover_playbooks
  • Add support for Alibaba Cloud Linux 2 (Aliyun Linux)
  • Regression fix of salt-ssh on processing targets
  • Update target fix for salt-ssh and avoiding race condition on salt-ssh event processing (bsc#1179831, bsc#1182281)
  • Add notify beacon for Debian/Ubuntu systems
  • Fix zmq bug that causes salt-call to freeze (bsc#1181368)
Record
SUSE-SU-2021:2104-1
Updated
2026-11-02
OSVSUSE-SU-2021:2105-1 No score

Security update for salt

This update for salt fixes the following issues:

Update to Salt release version 3002.2 (jsc#ECO-3212, jsc#SLE-18033, jsc#SLE-18028)

  • Check if dpkgnotify is executable (bsc#1186674)
  • Drop support for Python2. Obsoletes python2-salt package (jsc#SLE-18028)
  • virt module updates
    • network: handle missing ipv4 netmask attribute
    • more network support
    • PCI/USB host devices passthrough support
  • Set distro requirement to oldest supported version in requirements/base.txt
  • Bring missing part of async batch implementation back (bsc#1182382, CVE-2021-25315)
  • Always require python3-distro (bsc#1182293)
  • Remove deprecated warning that breaks minion execution when 'server_id_use_crc' opts is missing
  • Fix pkg states when DEB package has 'all' arch
  • Do not force beacons configuration to be a list.
  • Remove msgpack < 1.0.0 from base requirements (bsc#1176293)
  • msgpack support for version >= 1.0.0 (bsc#1171257)
  • Fix issue parsing errors in ansiblegate state module
  • Prevent command injection in the snapper module (bsc#1185281, CVE-2021-31607)
  • transactional_update: detect recursion in the executor
  • Add subpackage salt-transactional-update (jsc#SLE-18033)
  • Remove duplicate directories from specfile
  • Improvements on 'ansiblegate' module (bsc#1185092):
    • New methods: ansible.targets / ansible.discover_playbooks
  • Add support for Alibaba Cloud Linux 2 (Aliyun Linux)
  • Regression fix of salt-ssh on processing targets
  • Update target fix for salt-ssh and avoiding race condition on salt-ssh event processing (bsc#1179831, bsc#1182281)
  • Add notify beacon for Debian/Ubuntu systems
  • Fix zmq bug that causes salt-call to freeze (bsc#1181368)
Record
SUSE-SU-2021:2105-1
Updated
2026-11-02
OSVSUSE-SU-2021:2106-1 No score

Security update for salt

This update for salt fixes the following issues:

Update to Salt release version 3002.2 (jsc#ECO-3212, jsc#SLE-18033, jsc#SLE-18028)

  • Check if dpkgnotify is executable (bsc#1186674)
  • Drop support for Python2. Obsoletes python2-salt package (jsc#SLE-18028)
  • virt module updates
    • network: handle missing ipv4 netmask attribute
    • more network support
    • PCI/USB host devices passthrough support
  • Set distro requirement to oldest supported version in requirements/base.txt
  • Bring missing part of async batch implementation back (CVE-2021-25315, bsc#1182382)
  • Always require python3-distro (bsc#1182293)
  • Remove deprecated warning that breaks minion execution when 'server_id_use_crc' opts is missing
  • Fix pkg states when DEB package has 'all' arch
  • Do not force beacons configuration to be a list.
  • Remove msgpack < 1.0.0 from base requirements (bsc#1176293)
  • msgpack support for version >= 1.0.0 (bsc#1171257)
  • Fix issue parsing errors in ansiblegate state module
  • Prevent command injection in the snapper module (bsc#1185281, CVE-2021-31607)
  • transactional_update: detect recursion in the executor
  • Add subpackage salt-transactional-update (jsc#SLE-18033)
  • Improvements on 'ansiblegate' module (bsc#1185092):
    • New methods: ansible.targets / ansible.discover_playbooks
  • Add support for Alibaba Cloud Linux 2 (Aliyun Linux)
  • Regression fix of salt-ssh on processing targets
  • Update target fix for salt-ssh and avoiding race condition on salt-ssh event processing (bsc#1179831, bsc#1182281)
  • Add notify beacon for Debian/Ubuntu systems
  • Fix zmq bug that causes salt-call to freeze (bsc#1181368)
Record
SUSE-SU-2021:2106-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
salt
PyPI
before 3002.2
3002.2
salt
PyPI
before 3002.2, plus listed versions
0.10.00.10.10.10.20.10.30.10.4
Show 45 moreShow less
0.10.50.11.00.11.10.12.00.12.10.13.00.13.10.13.20.13.30.14.00.14.10.15.00.15.10.15.20.15.30.15.900.16.00.16.10.16.20.16.30.16.40.17.00.17.0rc10.17.10.17.20.17.30.17.40.17.50.8.70.8.90.9.00.9.10.9.20.9.30.9.40.9.50.9.60.9.70.9.80.9.90.9.9.12014.1.02014.1.0rc12014.1.0rc22014.1.0rc3
3002.2
salt
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
From an advisory covering 2 CVEs
before 3002.2-8.41.8.1
3002.2-8.41.8.1
salt
SUSE:Linux Enterprise High Performance Computing 15-LTSS
From an advisory covering 2 CVEs
before 3002.2-8.41.8.1
3002.2-8.41.8.1
salt
SUSE:Linux Enterprise Server 15-LTSS
From an advisory covering 2 CVEs
before 3002.2-8.41.8.1
3002.2-8.41.8.1
salt
SUSE:Linux Enterprise Server for SAP Applications 15
From an advisory covering 2 CVEs
before 3002.2-8.41.8.1
3002.2-8.41.8.1
salt
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
salt
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
salt
SUSE:Linux Enterprise Server 15 SP1-BCL
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
salt
SUSE:Linux Enterprise Server 15 SP1-LTSS
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
Show 16 moreShow less
Affected packages
PackageAffectedFixed
salt
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
salt
SUSE:Manager Proxy 4.0
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
salt
SUSE:Manager Retail Branch Server 4.0
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
salt
SUSE:Manager Server 4.0
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
salt
SUSE:Enterprise Storage 6
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
python-distro
SUSE:Linux Enterprise Module for Basesystem 15 SP2
From an advisory covering 7 CVEs
before 1.5.0-3.5.1
1.5.0-3.5.1
salt
SUSE:Linux Enterprise Module for Basesystem 15 SP2
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
python-distro
SUSE:Linux Enterprise Module for Basesystem 15 SP3
From an advisory covering 7 CVEs
before 1.5.0-3.5.1
1.5.0-3.5.1
python-distro
SUSE:Linux Enterprise Module for Python 2 15 SP2
From an advisory covering 7 CVEs
before 1.5.0-3.5.1
1.5.0-3.5.1
python-distro
SUSE:Linux Enterprise Module for Python 2 15 SP3
From an advisory covering 7 CVEs
before 1.5.0-3.5.1
1.5.0-3.5.1
salt
SUSE:Linux Enterprise Module for Server Applications 15 SP2
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
salt
SUSE:Linux Enterprise Module for Transactional Server 15 SP2
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
python-distro
SUSE:Linux Enterprise Micro 5.0
From an advisory covering 7 CVEs
before 1.5.0-3.5.1
1.5.0-3.5.1
salt
SUSE:Linux Enterprise Micro 5.0
From an advisory covering 7 CVEs
before 3002.2-37.1
3002.2-37.1
salt
openSUSE:Leap 15.2
From an advisory covering 7 CVEs
before 3002.2-lp152.3.36.1
3002.2-lp152.3.36.1
python-distro
openSUSE:Leap 15.3
From an advisory covering 7 CVEs
before 1.5.0-3.5.1
1.5.0-3.5.1

History

History
RecordedChangedSources
affected, facts
affected
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-25315 is a critical vulnerability (CVSS 9.8) in Opensuse Tumbleweed, published March 3, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.29%, the 83rd percentile. Fixed in salt 3002.2.

References

Show 59 moreShow less
This page doesn't list everything

Left out here: 138 versions. The JSON record has them.

MoveEnter Open