GitHub Advisoryadvisory · PyPI
GHSA-qr38-h96j-2j3w SaltStack Salt Command Injection in netapi ssh client
CRITICAL
Official page ↗
- Aliases
- CVE-2020-16846
- Ecosystem
- PyPI
- Packages
- salt
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
- Weaknesses
- CWE-78
- Reviewed
- 2024-04-22
Affected packages
• PyPI salt: < 2015.8.13 → fixed in 2015.8.13
• PyPI salt: >= 2016.3.0, < 2016.3.8 → fixed in 2016.3.8
• PyPI salt: >= 2016.11.0, < 2016.11.10 → fixed in 2016.11.10
• PyPI salt: >= 2017.5.0, < 2017.7.8 → fixed in 2017.7.8
• PyPI salt: >= 2018.2.0, < 2018.3.5 → fixed in 2018.3.5
• PyPI salt: >= 2019.2.0, < 2019.2.6 → fixed in 2019.2.6
• PyPI salt: >= 3000.0, < 3000.4 → fixed in 3000.4
• PyPI salt: >= 3001, < 3001.2 → fixed in 3001.2
• PyPI salt: >= 3002, < 3002.1 → fixed in 3002.1
Description
An issue was discovered in SaltStack Salt through 3002. Sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection.
Related
Alias · CVE (1)
- CVE-2020-16846 An issue was discovered in SaltStack Salt through 3002. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-16846 advisory
- https://www.zerodayinitiative.com/advisories/ZDI-20-1383 web
- https://www.zerodayinitiative.com/advisories/ZDI-20-1382 web
- https://www.zerodayinitiative.com/advisories/ZDI-20-1381 web
- https://www.zerodayinitiative.com/advisories/ZDI-20-1380 web
- https://www.zerodayinitiative.com/advisories/ZDI-20-1379 web
- https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves web
- https://www.debian.org/security/2021/dsa-4837 web
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-16846 web
- https://security.gentoo.org/glsa/202011-13 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA web
- https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html web
- https://lists.debian.org/debian-lts-announce/2020/12/msg00007.html web
- https://github.com/saltstack/salt/releases web
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.1.rst#L12 web
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.2.rst#L10 web
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.4.rst#L10 web
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/2019.2.6.rst#L10 web
- https://github.com/saltstack/salt package
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2020-104.yaml web
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html web
- http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html web