CVE-2021-25282

Exp

An issue was discovered in through SaltStack Salt before 3002.5. The salt.wheel.pillar_roots.write method is vulnerable to directory traversal.

Published: 2021-02-27 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2021-25282 is rated High Exploit Risk (86.6/100): CVSS Critical severity, with high exploitation likelihood (EPSS 91.29%, 100th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2021-25282

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2021-25282

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-19 90.95% 91.29% +0.34%
2 2025-11-21 89.12% 90.95% +1.82%
3 2025-11-18 89.12%

Full EPSS history (27 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2021-25282

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.1 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.2 [email protected]
6.4 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 4.9 [email protected]

Weakness enumeration for CVE-2021-25282

GitHub Security Advisory for CVE-2021-25282

GHSA-76x4-x3p6-rpr9 · Severity: high · Ecosystem: pip — SaltStack Salt Directory Traversal vulnerability

OS Trackers for CVE-2021-25282

vendor priority summary link
alpine CVE-2021-25282: 1 source package rows (salt); 6 state rows across 2 repos (3.22-community, edge-community); fixed 0, open 6. https://security.alpinelinux.org/vuln/CVE-2021-25282
gentoo high CVE-2021-25282: 2 GLSA(s) (202103-01, 202310-22), 1 atom(s) (app-admin/salt); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-25282
redhat medium https://access.redhat.com/security/cve/CVE-2021-25282
suse critical CVE-2021-25282 severity critical: SUSE including 156 source package names (py26-compat-salt, py26-compat-salt-2016.11.10-10.22.1, …), 417 product×package rows across 59 product lines (Image SLES12-SP5-Azure-BYOS, Image SLES12-SP5-Azure-HPC-BYOS, … (59 product lines)): Fixed 375, Known Not Affected 42. https://www.suse.com/security/cve/CVE-2021-25282/
ubuntu medium CVE-2021-25282 medium priority: Ubuntu including 1 source packages (salt), 16 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 7, ignored 5, released 3, not-affected 1. https://ubuntu.com/security/CVE-2021-25282

Affected software / configurations for CVE-2021-25282

Vendor Product Version Raw CPE
saltstack salt < 2015.8.10 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2015.8.11, < 2015.8.13 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.3.0, < 2016.3.4 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.3.5, < 2016.3.6 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.3.7, < 2016.3.8 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.3.9, < 2016.11.3 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.11.4, < 2016.11.5 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.11.7, < 2016.11.10 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2017.5.0, < 2017.7.8 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2018.2.0, <= 2018.3.5 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2019.2.0, < 2019.2.5 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2019.2.6, < 2019.2.8 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 3000, < 3000.6 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 3001, < 3001.4 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 3002, < 3002.5 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
fedoraproject fedora 32 cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
fedoraproject fedora 33 cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
fedoraproject fedora 34 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debian debian_linux 11.0 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

References for CVE-2021-25282

URL Tags
http://packetstormsecurity.com/files/162058/SaltStack-Salt-API-Unauthenticated-Remote-Command-Execution.html Exploit Third Party Advisory VDB Entry
https://github.com/saltstack/salt/releases Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/ Mailing List Third Party Advisory
https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/ Vendor Advisory
https://security.gentoo.org/glsa/202103-01 Third Party Advisory
https://security.gentoo.org/glsa/202310-22 Third Party Advisory
https://www.debian.org/security/2021/dsa-5011 Third Party Advisory
cvelogic Threat Intelligence