{"cve":"CVE-2021-3148","nvd":{"published":"2021-02-27T05:15:14.190","modified":"2026-06-17T04:04:44.873","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-77"],"references":["https://github.com/saltstack/salt/releases","https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html","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/"],"products":["debian:debian_linux","fedoraproject:fedora","saltstack:salt"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-3148","score":0.08246,"percentile":0.94899,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-ghc2-hx3w-jqmp","url":"https://osv.dev/vulnerability/GHSA-ghc2-hx3w-jqmp","summary":"SaltStack Salt command injection in the Salt-API when using the Salt-SSH client","modified":"2024-10-23T18:40:40.707355Z","packages":[{"ecosystem":"PyPI","name":"salt","purl":"pkg:pypi/salt","ranges":["<2015.8.13"],"fixed":["2015.8.13"]},{"ecosystem":"PyPI","name":"salt","purl":"pkg:pypi/salt","ranges":[">=2016.3.0 <2016.11.5"],"fixed":["2016.11.5"]},{"ecosystem":"PyPI","name":"salt","purl":"pkg:pypi/salt","ranges":[">=2016.11.7 <2016.11.10"],"fixed":["2016.11.10"]},{"ecosystem":"PyPI","name":"salt","purl":"pkg:pypi/salt","ranges":[">=2017.5.0 <2017.7.8"],"fixed":["2017.7.8"]},{"ecosystem":"PyPI","name":"salt","purl":"pkg:pypi/salt","ranges":[">=2018.2.0 <=2018.3.5"],"fixed":[]},{"ecosystem":"PyPI","name":"salt","purl":"pkg:pypi/salt","ranges":[">=2019.2.0 <2019.2.8"],"fixed":["2019.2.8"]},{"ecosystem":"PyPI","name":"salt","purl":"pkg:pypi/salt","ranges":[">=3000 <3000.7"],"fixed":["3000.7"]},{"ecosystem":"PyPI","name":"salt","purl":"pkg:pypi/salt","ranges":[">=3001 <3001.5"],"fixed":["3001.5"]},{"ecosystem":"PyPI","name":"salt","purl":"pkg:pypi/salt","ranges":[">=3002 <3002.3"],"fixed":["3002.3"]}]},{"id":"PYSEC-2021-55","url":"https://osv.dev/vulnerability/PYSEC-2021-55","summary":"","modified":"2026-06-10T17:02:38.760969329Z","packages":[{"ecosystem":"PyPI","name":"salt","purl":"pkg:pypi/salt","ranges":["<2015.8.10",">=2015.8.11 <2015.8.13",">=2016.3.0 <2016.3.4",">=2016.3.5 <2016.3.6",">=2016.3.7 <2016.3.8",">=2016.11.0 <2016.11.3",">=2016.11.4 <2016.11.5",">=2016.11.7 <2016.11.10",">=2017.7.0 <2017.7.8",">=2018.3.0rc1 <2019.2.0rc1",">=2019.2.0 <2019.2.5",">=2019.2.6 <2019.2.8",">=3000 <3000.6",">=3001 <3001.4",">=3002 <3002.5"],"fixed":["2015.8.10","2015.8.13","2016.3.4","2016.3.6","2016.3.8","2016.11.3","2016.11.5","2016.11.10","2017.7.8","2019.2.0rc1","2019.2.5","2019.2.8","3000.6","3001.4","3002.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}