{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-22004","id":"CVE-2021-22004","title":"Improper Authentication in SaltStack Salt","description":"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.","descriptionLong":"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.","published":"2021-09-08T15:00:14.000Z","updated":"2026-10-24T10:31:00.073442209Z","reserved":"2021-01-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"4.0","score":null,"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":"medium","source":"GitHub"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["Saltstack Salt"],"affectedProducts":[{"vendor":"n/a","product":"Saltstack Salt","defaultStatus":null,"versions":[{"status":"affected","version":"Saltstack Salt (before 3003.3)"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"salt","purl":"pkg:pypi/salt","ranges":["<3003.3"],"fixed":["3003.3"],"advisory":"GHSA-xf37-qcvf-7m57"}],"cwes":["CWE-362","CWE-287"],"aliases":["GHSA-xf37-qcvf-7m57","PYSEC-2021-346"],"references":[{"url":"https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02/","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22004","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-xf37-qcvf-7m57","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-346.yaml","tags":["web"]},{"url":"https://github.com/saltstack/salt","tags":["package"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ","tags":["web"]},{"url":"https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00354,"epssPercentile":0.2978,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-22004","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22004","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-22004","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xf37-qcvf-7m57","ok":true,"note":"GHSA-xf37-qcvf-7m57"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-22004","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}