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 FencerVendor 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-minionaffected: 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
References
-
bugzilla.suse.com
/show_bug.cgi?id=1182382
web, issue-tracking, vendor-advisory, advisory, report
-
nvd.nist.gov
/vuln/detail/CVE-2021-25315
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-891.yaml
web
-
github.com
/saltstack/salt
package
-
github.com
/advisories/GHSA-pmj6-9f8c-8g2m
advisory
Sources
- CVE List CVE-2021-25315
- GitHub Advisory GHSA-pmj6-9f8c-8g2m
- NVD CVE-2021-25315
- OSV PYSEC-2021-891
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.