CVE-2021-25282
CRITICAL 9.1CVSS 3.1SaltStack Salt Directory Traversal vulnerability
An issue was discovered in through SaltStack Salt before 3002.5. The salt.wheel.pillar_roots.write method is vulnerable to directory traversal.
- Published
- 27 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-76x4-x3p6-rpr9PYSEC-2021-51
- Sources
- NVDJSONOSV GHSA-76x4-x3p6-rpr9JSONOSV PYSEC-2021-51JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
< 2015.8.10 | 2015.8.10 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2015.8.11, < 2015.8.13 | 2015.8.13 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.3.0, < 2016.3.4 | 2016.3.4 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.3.5, < 2016.3.6 | 2016.3.6 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.3.7, < 2016.3.8 | 2016.3.8 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.3.9, < 2016.11.3 | 2016.11.3 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.11.4, < 2016.11.5 | 2016.11.5 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.11.7, < 2016.11.10 | 2016.11.10 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2017.5.0, < 2017.7.8 | 2017.7.8 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2018.2.0, <= 2018.3.5 | |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2019.2.0, < 2019.2.5 | 2019.2.5 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2019.2.6, < 2019.2.8 | 2019.2.8 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 3000, < 3000.6 | 3000.6 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 3001, < 3001.4 | 3001.4 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 3002, < 3002.5 | 3002.5 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | PyPI | salt | < 2015.8.13 | 2015.8.13 |
| OSV | PyPI | salt | >= 2016.3.0, < 2016.11.5 | 2016.11.5 |
| OSV | PyPI | salt | >= 2016.11.7, < 2016.11.10 | 2016.11.10 |
| OSV | PyPI | salt | >= 2017.5.0, < 2017.7.8 | 2017.7.8 |
| OSV | PyPI | salt | >= 2018.2.0, <= 2018.3.5 | |
| OSV | PyPI | salt | >= 2019.2.0, < 2019.2.8 | 2019.2.8 |
| OSV | PyPI | salt | >= 3000, < 3000.7 | 3000.7 |
| OSV | PyPI | salt | >= 3001, < 3001.5 | 3001.5 |
| OSV | PyPI | salt | >= 3002, < 3002.3 | 3002.3 |
| OSV | PyPI | salt | < 2015.8.10; >= 2015.8.11, < 2015.8.13; >= 2016.3.0, < 2016.3.4; >= 2016.3.5, < 2016.3.6; >= 2016.3.7, < 2016.3.8; >= 2016.11.0, < 2016.11.3; >= 2016.11.4, < 2016.11.5; >= 2016.11.7, < 2016.11.10; >= 2017.7.0, < 2017.7.8; >= 2018.3.0rc1, < 2019.2.0rc1; >= 2019.2.0, < 2019.2.5; >= 2019.2.6, < 2019.2.8; >= 3000, < 3000.6; >= 3001, < 3001.4; >= 3002, < 3002.5 | 2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6, 2016.3.8, 2016.11.3, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.0rc1, 2019.2.5, 2019.2.8, 3000.6, 3001.4, 3002.5 |
References
- http://packetstormsecurity.com/files/162058/SaltStack-Salt-API-Unauthenticated-Remote-Command-Execution.html · Exploit, Third Party Advisory, VDB Entry, WEB
- https://github.com/saltstack/salt/releases · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/ · Mailing List, Third Party Advisory, WEB
- https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/ · Vendor Advisory, WEB
- https://security.gentoo.org/glsa/202103-01 · Third Party Advisory, WEB, ADVISORY
- https://security.gentoo.org/glsa/202310-22 · Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-5011 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25282 · ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB · WEB
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.3.rst#L31 · WEB
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.5.rst#L31 · WEB
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.7.rst#L31 · WEB
- https://github.com/saltstack/salt · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-51.yaml · WEB
- https://github.com/advisories/GHSA-76x4-x3p6-rpr9 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 27 Feb 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Feb 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 May 2022)