CVE-2021-21996: High severity SaltStack Salt vulnerability

Published Sep 8, 2021
·
Updated

A user who has control of the source, and sourcehash URLs can gain full file system access as root on a salt minion.

Affected Software

11 affected componentsFixes available
debian/salt
2018.3.4+dfsg1-6+deb10u33002.6+dfsg1-4+deb11u13004.1+dfsg-2.2
pip/salt>=0<3003.3
3003.3
SaltStack Salt
SaltStack Salt<3000.3
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
alpine/salt<3003.3-r0
3003.3-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/salt to a version that resolves this vulnerability.

    Fixed in 2018.3.4+dfsg1-6+deb10u3Fixed in 3002.6+dfsg1-4+deb11u1Fixed in 3004.1+dfsg-2.2
  2. Upgrade

    Upgrade pip/salt to a version that resolves this vulnerability.

    Fixed in 3003.3
  3. Upgrade

    Upgrade alpine/salt to a version that resolves this vulnerability.

    Fixed in 3003.3-r0
  4. Upgrade

    Upgrade SaltStack Salt minion to a version that resolves this vulnerability.

    Fixed in 3003.3

Event History

Sep 8, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software
Sep 9, 2021
Data Sourced
07:33 PM
SeverityAffected Software
Sep 21, 2021
Data Sourced
via Salt Project·12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 21, 2021
Advisory Published
via GitHub·12:00 AM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2021-21996?

CVE-2021-21996 is a vulnerability in SaltStack Salt before version 3003.3 that allows a user to gain full file system access as root on a salt minion.

2

What is the severity of CVE-2021-21996?

The severity of CVE-2021-21996 is high with a CVSS score of 7.5.

3

How does CVE-2021-21996 affect SaltStack Salt?

CVE-2021-21996 affects SaltStack Salt versions before 3003.3.

4

How can I fix CVE-2021-21996?

To fix CVE-2021-21996, update SaltStack Salt to version 3003.3 or later.

5

Where can I find more information about CVE-2021-21996?

You can find more information about CVE-2021-21996 at the following references: [1](https://security-tracker.debian.org/tracker/CVE-2021-21996), [2](https://security-tracker.debian.org/tracker/CVE-2021-22004), [3](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21996)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203