Arbitrary Command Injection Affecting salt package, versions <2018.3.4+dfsg1-6+deb10u3
Threat Intelligence
EPSS
5.9% (94th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN10-SALT-1080584
- published 27 Feb 2021
- disclosed 27 Feb 2021
Introduced: 27 Feb 2021
CVE-2021-3148 Open this link in a new tabHow to fix?
Upgrade Debian:10 salt to version 2018.3.4+dfsg1-6+deb10u3 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream salt package and not the salt package as distributed by Debian.
See How to fix? for Debian:10 relevant fixed versions and status.
An issue was discovered in SaltStack Salt before 3002.5. Sending crafted web requests to the Salt API can result in salt.utils.thin.gen_thin() command injection because of different handling of single versus double quotes. This is related to salt/utils/thin.py.
References
- https://security-tracker.debian.org/tracker/CVE-2021-3148
- https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/
- https://security.gentoo.org/glsa/202103-01
- https://github.com/saltstack/salt/releases
- https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html
- https://www.debian.org/security/2021/dsa-5011
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/
- 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/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/
- https://security.gentoo.org/glsa/202310-22
CVSS Scores
version 3.1