CVE-2021-25315
salt-api unauthenticated remote code execution
Reported by suse · Published March 3, 2021
salt is fixed in 3002.2 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| salt | PyPI | 3002.2 |
| salt | saltstack | 3002.2 |
| SUSE Linux Enterprise Server 15 SP 3 | SUSE | 3002.2-3 |
| Tumbleweed | openSUSE | 3002.2-2.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| SUSE | SUSE Linux Enterprise Server 15 SP 3 | salt |
| openSUSE | Tumbleweed | salt |
| PyPI | salt | 0 |
| SUSE | SUSE Linux Enterprise Server 15 SP 3 | * |
| openSUSE | Tumbleweed | * |
Timeline
- Mar 3, 2021 CVE Published
- Mar 3, 2021 PoC Published (2 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 9, 2025 CVE Updated
- Mar 10, 2026 Security Advisory (3 in total, the first dated here)
- Aug 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-25315
vulnetix vdb fixes CVE-2021-25315
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-25315/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart