CVE-2021-3144
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn SaltStack Salt before 3002.5, eauth tokens can be used once after expiration. (They might be used to run command against the salt master or minions.)
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceIn SaltStack Salt before version 3002.5, the eauth (external authentication) token validation logic incorrectly allows expired tokens to be used one additional time. This token expiration bypass enables attackers who have obtained expired eauth tokens to continue executing commands against the salt master or connected minions.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 32= 33= 34= 9.0= 10.0= 11.0< 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.3.9, < 2016.11.3>= 2016.11.4, < 2016.11.5>= 2016.11.7, < 2016.11.10>= 2017.5.0, < 2017.7.8>= 2018.2.0, <= 2018.3.5>= 2019.2.0, < 2019.2.5>= 2019.2.6, < 2019.2.8CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed Salt versionRun 'salt --version' or 'salt-master --version' to get the exact version numberAffected if Version falls within any of these ranges: < 2015.8.10, 2015.8.11-2015.8.12, 2016.3.0-2016.3.3, 2016.3.5, 2016.3.7, 2016.3.9-2016.11.2, 2016.11.4-2016.11.4, 2016.11.7-2016.11.9, 2017.5.0-2017.7.7, 2018.2.0-2018.3.5, 2019.2.0-2019.2.4, or 2019.2.6-2019.2.7 (versions before 3002.5 are vulnerable)
-
Confirm eauth is enabledLook for 'external_auth' or 'eauth' configuration in /etc/salt/master or master config file, or check for presence of any token files in /var/cache/salt/master/tokens/ directoryAffected if external_auth is configured and active in the Salt master configuration
-
Identify if eauth tokens were used near expirationReview Salt master logs for authentication events using eauth, particularly look for token usage around the time tokens would have expiredAffected if eauth tokens were in active use and could have expired recently, as the vulnerability allows one additional use of expired tokens
You are affected if you run any Salt version before 3002.5 with eauth (external authentication) enabled and actively use eauth tokens, as expired tokens can be reused one extra time.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2015.8.102015.8.132016.3.4
Upgrade SaltStack Salt to version 3002.5 or later to patch the token expiration validation logic, and consider rotating any eauth tokens that may have been exposed or used near expiration.
Salt 3002.5 or later
- 1. Check the currently installed Salt version: salt --version
- 2. For Fedora systems: Run 'sudo dnf update salt' to upgrade to the latest available version in the repository
- 3. For Debian systems: Run 'sudo apt-get update && sudo apt-get install salt-master salt-minion' to install the latest available version
- 4. Alternatively, install Salt 3002.5 or later from the official SaltStack repository: curl -fsSL https://repo.saltproject.io/py3/ubuntu/20.04/amd64/latest/salt-archive-keyring.pgp | sudo gpg --dearmor -o /usr/share/keyrings/salt-archive-keyring.gpg, then configure the repository and install
- 5. After upgrade, restart salt-master and salt-minion services: sudo systemctl restart salt-master && sudo systemctl restart salt-minion
- 6. Verify the fix by checking that expired eauth tokens are rejected: confirm Salt version is 3002.5 or later and test token expiration behavior
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2021-3144 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2021-3144 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data