Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. salt
  4. ›
  5. CVE-2021-22004

CVE-2021-22004: Improper Authentication in SaltStack Salt

May 24, 2022 (updated October 26, 2024)

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.

References

  • github.com/advisories/GHSA-xf37-qcvf-7m57
  • github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-346.yaml
  • github.com/saltstack/salt
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ
  • nvd.nist.gov/vuln/detail/CVE-2021-22004
  • saltproject.io/security_announcements/salt-security-advisory-2021-sep-02

Code Behaviors & Features

Detect and mitigate CVE-2021-22004 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3003.3

Fixed versions

  • 3003.3

Solution

Upgrade to version 3003.3 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

pypi/salt/CVE-2021-22004.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:39 +0000.