Name | CVE-2021-3148 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
References | DLA-2815-1 |
Debian Bugs | 983632 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
salt (PTS) | buster, buster (security) | 2018.3.4+dfsg1-6+deb10u3 | fixed |
bullseye (security), bullseye | 3002.6+dfsg1-4+deb11u1 | fixed | |
sid | 3004.1+dfsg-2.2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
salt | source | stretch | 2016.11.2+ds-1+deb9u7 | DLA-2815-1 | ||
salt | source | buster | 2018.3.4+dfsg1-6+deb10u3 | |||
salt | source | (unstable) | 3002.5+dfsg1-1 | 983632 |
https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/
Introduced by: https://github.com/saltstack/salt/commit/fc9267afa3a7ecaae3ef446575072e0e5d51d8b7 (v2016.3)
Fixed by: https://github.com/saltstack/salt/commit/6ae64c6b15cb7f43b57f564a0cb8a0e426cc183a (v3000.7 backport)