{"id":"CVE-2021-22004","aliases":["CVE-2021-22004","GHSA-xf37-qcvf-7m57","PYSEC-2021-346"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Authentication in SaltStack Salt","summary":"An issue was discovered in SaltStack Salt before 3003.3. The salt minion installer will accept and use a minion config file at C:\\salt\\conf if that file is in place before the installer is run. This allows for a malicious actor to subvert the proper behaviour of the given minion software.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in SaltStack Salt before 3003.3. The salt minion installer will accept and use a minion config file at C:\\salt\\conf if that file is in place before the installer is run. This allows for a malicious actor to subvert the proper behaviour of the given minion software.","source":"cvelist"},{"lang":"es","text":"Se detectó un problema en SaltStack Salt versiones anteriores a 3003.3. El instalador de minions de Salt aceptará y usará un archivo de configuración de minions en C:\\salt\\conf si ese archivo está en su lugar antes de que se ejecute el instalador. Esto permite a un actor malicioso subvertir el comportamiento adecuado del software minion dado","source":"nvd"}],"published":"2021-09-08T15:00:14.000Z","modified":"2026-06-17T03:36:32.340Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-287","CWE-362"],"affected":[{"ranges":[{"version":"Saltstack Salt (before 3003.3)","status":"affected"}],"product":"Saltstack Salt","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3003.3"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3000.3"}],"vendor":"saltstack","product":"salt","cpe":"cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"33"},{"status":"affected","version":"34"},{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3003.3"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"pysec"}],"references":[{"url":"https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02/","tags":["advisory","patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22004","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-xf37-qcvf-7m57","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-346.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/saltstack/salt","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ","tags":["web"],"sources":["ghsa"]},{"url":"https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/","tags":["web"],"sources":["pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/","tags":["web"],"sources":["pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/","tags":["web"],"sources":["pysec"]}],"credits":[],"assigner":"vmware","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-22004","url":"https://www.cve.org/CVERecord?id=CVE-2021-22004","licence":"CVE Terms of Use","modified":"2024-08-03T18:30:23.738Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xf37-qcvf-7m57","url":"https://github.com/advisories/GHSA-xf37-qcvf-7m57","licence":"CC-BY-4.0","modified":"2024-10-26T23:02:01.675Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-22004","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22004","licence":"Public domain","modified":"2026-06-17T03:36:32.340Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-346","url":"https://osv.dev/vulnerability/PYSEC-2021-346","licence":"CC-BY-4.0","modified":"2023-11-08T04:04:53.282Z"}],"updatedAt":"2026-11-25T22:58:03.777Z","epss":{"score":0.00354,"percentile":0.31157,"date":"2026-12-01T12:00:22.000Z"}}