CVE-2025-22240 CVE-2025-22240 salt advisory
MediumCVSS 6.3
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Ubuntu
Description
Arbitrary directory creation or file deletion. In the find_file method of the GitFS class, a path is created using os.path.join using unvalidated input from the “tgt_env” variable. This can be exploited by an attacker to delete any file on the Master's process has permissions to.
Upgrade path
3 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/salt(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| pypi salt(PyPI) | = 3006.0; = 3006.0rc1; = 3006.0rc2; = 3006.0rc3 +18 more | 3006.12, 3007.4 | Fixed |
| VMware SALT | >= 3006.x, < 3006.12; >= 3007.x, < 3007.4 | 3006.12, 3007.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi salt(PyPI) | >= 3007.0rc1, < 3007.4 | 3007.4 |
| pypi salt(PyPI) | = 3007.0 | No fix listed |
| pypi salt(PyPI) | = 3007.0rc1 | No fix listed |
| pypi salt(PyPI) | = 3007.1 | No fix listed |
| pypi salt(PyPI) | = 3007.2 | No fix listed |
| pypi salt(PyPI) | = 3007.3 | No fix listed |
| pypi salt(PyPI) | >= 3006.0rc1, < 3006.12 | 3006.12 |
| pypi salt(PyPI) | = 3006.0 | No fix listed |
| pypi salt(PyPI) | = 3006.0rc1 | No fix listed |
| pypi salt(PyPI) | = 3006.0rc2 | No fix listed |
| pypi salt(PyPI) | = 3006.0rc3 | No fix listed |
| pypi salt(PyPI) | = 3006.1 | No fix listed |
| pypi salt(PyPI) | = 3006.10 | No fix listed |
| pypi salt(PyPI) | = 3006.11 | No fix listed |
| pypi salt(PyPI) | = 3006.2 | No fix listed |
| pypi salt(PyPI) | = 3006.3 | No fix listed |
| pypi salt(PyPI) | = 3006.4 | No fix listed |
| pypi salt(PyPI) | = 3006.5 | No fix listed |
| pypi salt(PyPI) | = 3006.6 | No fix listed |
| pypi salt(PyPI) | = 3006.7 | No fix listed |
| pypi salt(PyPI) | = 3006.8 | No fix listed |
| pypi salt(PyPI) | = 3006.9 | No fix listed |
| VMware SALT | >= 3006.x, < 3006.12 | 3006.12 |
| VMware SALT | >= 3007.x, < 3007.4 | 3007.4 |
| ubuntu/salt(Ubuntu:22.04) | All versions | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- docs.saltproject.io
- docs.saltproject.io
- github.com product
- pypi.org product
- github.com vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org