{"id":"UBUNTU-CVE-2021-3148","details":"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.","modified":"2026-04-02T18:33:37.012136Z","published":"2021-02-27T05:15:00Z","related":["USN-6948-1"],"upstream":["CVE-2021-3148"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3148"},{"type":"REPORT","url":"https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/"},{"type":"REPORT","url":"https://github.com/saltstack/salt/releases"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3148"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6948-1"}],"affected":[{"package":{"name":"salt","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/salt@2017.7.4+dfsg1-1ubuntu18.04.2+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"}]}],"versions":["2016.11.5+ds-1","2016.11.8+dfsg1-1","2017.7.2+dfsg1-2ubuntu1","2017.7.3+dfsg1-1","2017.7.4+dfsg1-1","2017.7.4+dfsg1-1ubuntu18.04.1","2017.7.4+dfsg1-1ubuntu18.04.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"salt-api","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_name":"salt-cloud","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_name":"salt-common","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1","binary_name":"salt-master"},{"binary_name":"salt-minion","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_name":"salt-proxy","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_name":"salt-ssh","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_name":"salt-syndic","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3148.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}