GitHub Advisory Database
GHSA-76x4-x3p6-rpr9
SaltStack Salt Directory Traversal vulnerability
Details
An issue was discovered in through SaltStack Salt before 3002.5. The salt.wheel.pillar_roots.write method is vulnerable to directory traversal.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | salt | All versions before 2015.8.13 (fixed in 2015.8.13) |
| PyPI | salt | From 2016.3.0 before 2016.11.5 (fixed in 2016.11.5) |
| PyPI | salt | From 2016.11.7 before 2016.11.10 (fixed in 2016.11.10) |
| PyPI | salt | From 2017.5.0 before 2017.7.8 (fixed in 2017.7.8) |
| PyPI | salt | From 2018.2.0 up to and including 2018.3.5 |
| PyPI | salt | From 2019.2.0 before 2019.2.8 (fixed in 2019.2.8) |
| PyPI | salt | From 3000 before 3000.7 (fixed in 3000.7) |
| PyPI | salt | From 3001 before 3001.5 (fixed in 3001.5) |
| PyPI | salt | From 3002 before 3002.3 (fixed in 3002.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-25282
- https://www.debian.org/security/2021/dsa-5011
- https://security.gentoo.org/glsa/202310-22
- https://security.gentoo.org/glsa/202103-01
- https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25
- https://lists.fedoraproject.org/archives/list/[email protected]/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH
- https://lists.fedoraproject.org/archives/list/[email protected]/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB
- https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html
- https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html
- https://github.com/saltstack/salt/releases
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.3.rst#L31
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.5.rst#L31
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.7.rst#L31
- https://github.com/saltstack/salt
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-51.yaml
- http://packetstormsecurity.com/files/162058/SaltStack-Salt-API-Unauthenticated-Remote-Command-Execution.html