CVE-2025-22240
MEDIUM6.3EPSS 0.10%Salt allows arbitrary directory creation or file deletion
發布日:2025/6/13修改日:2025/6/13
描述
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.
受影響套件(1)
- PyPI/salt>= 3007.0rc1, < 3007.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-22240
- PATCHhttps://github.com/saltstack/salt
- WEBhttps://docs.saltproject.io/en/3006/topics/releases/3006.12.html
- WEBhttps://docs.saltproject.io/en/3007/topics/releases/3007.4.html
- WEBhttps://github.com/saltstack/salt/commit/f7c28ffbf18dbf693a15b1ba9493918de3e88cf3