CVE-2023-20898: High severity SaltStack Salt vulnerability

Published Aug 10, 2023
·
Updated

Git Providers can read from the wrong environment because they get the same cache directory base name in Salt masters prior to 3005.2 or 3006.2. Anything that uses Git Providers with different environments can get garbage data or the wrong data, which can lead to wrongful data disclosure, wrongful executions, data corruption and/or crash.

Affected Software

5 affected componentsFixes available
pip/salt>=3006.0rc1<3006.2
3006.2
pip/salt<3005.2
3005.2
SaltStack Salt<3005.2, <3006.2
3005.23006.2
SaltStack Salt<3005.2
SaltStack Salt>=3006.0<3006.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 3006.2
  2. Upgrade

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

    Fixed in 3005.2
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3005.2Fixed in 3006.2
  4. Upgrade

    Upgrade Salt master to a version that resolves this vulnerability.

    Fixed in 3005.2
  5. Upgrade

    Upgrade Salt master to a version that resolves this vulnerability.

    Fixed in 3006.2

Event History

Aug 10, 2023
CVE Published
via Salt Project·12:00 AM
Data Sourced
via Salt Project·12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 5, 2023
CVE Published
via MITRE·10:59 AM
Data Sourced
via MITRE·10:59 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:30 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2023-20898?

CVE-2023-20898 is a vulnerability in Salt masters prior to version 3005.2 or 3006.2 that allows Git Providers to read from the wrong environment, potentially leading to data disclosure and other issues.

2

How severe is CVE-2023-20898?

CVE-2023-20898 has a severity rating of 7.8 (high).

3

Which software versions are affected by CVE-2023-20898?

Salt masters prior to version 3005.2 or 3006.2 are affected by CVE-2023-20898.

4

How can the vulnerability in CVE-2023-20898 be fixed?

To fix the vulnerability in CVE-2023-20898, upgrade Salt masters to version 3005.2 or 3006.2.

5

Where can I find more information about CVE-2023-20898?

You can find more information about CVE-2023-20898 in the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-20898), [SaltStack Security Advisory](https://saltproject.io/security-announcements/2023-08-10-advisory/), [GitHub Advisory Database](https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2023-169.yaml).

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