{"id":"CVE-2025-22238","published":"2025-06-13T06:58:19Z","modified":"2025-06-13T13:55:43Z","title":"CVE-2025-22238 salt advisory","vendor":"VMware","product":"SALT","tier":"tail","description":{"text":"Directory traversal attack in minion file cache creation. The master's default cache is vulnerable to a directory traversal attack. Which could be leveraged to write or overwrite 'cache' files outside of the cache directory.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0041,"percentile":0.26879,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://docs.saltproject.io/en/3006/topics/releases/3006.12.html","tags":[]},{"url":"https://docs.saltproject.io/en/3007/topics/releases/3007.4.html","tags":[]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":5.38},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"vmware","affectedVersions":[{"vendor":"VMware","product":"SALT","versions":[">= 3006.x, < 3006.12",">= 3007.x, < 3007.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-13T13:54:45.480351Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"salt","vulnerableRanges":[">=3006.0rc1, <3006.12",">=3007.0rc1, <3007.4"],"patched":["3006.12","3007.4"],"from":["GHSA-r546-h3ff-q585","PYSEC-2026-1901"],"provenance":"source"}],"summary":{"text":"The flaw is a directory traversal (path traversal) weakness in the minion file cache creation logic of VMware's SALT product, affecting the master's default cache. Exploiting it requires local access and high privileges, plus user interaction, and lets an attacker write or overwrite cache files outside the intended cache directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:59Z"},"euvd":{"id":"EUVD-2025-18252","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vmware-salt-cve-2017-12791","parents":[{"from":"CVE-2017-14695","to":"CVE-2025-22238","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["salt/utils/verify.py"],"commits":["https://github.com/saltstack/salt/commit/80d90307b07b3703428ecbb7c8bb468e28a9ae6d","https://github.com/saltstack/salt/commit/4b30218edf1a979855ea191d72b30c89f4a5a582"],"basis":"shared function","functions":["clean_path"]},{"kind":"similar","provenance":"machine","score":0.44,"basis":"same package + description similarity"}]},{"from":"CVE-2024-38825","to":"CVE-2025-22238","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["salt/exceptions.py","salt/returners/local_cache.py","salt/utils/verify.py"],"commits":["https://github.com/saltstack/salt/commit/5ff18fd0ececdfd083ddce693c3ccef30e44f155","https://github.com/saltstack/salt/commit/d7cb64e44db5f82fd615373f5dca2eb1fb29bbab","https://github.com/saltstack/salt/commit/4b30218edf1a979855ea191d72b30c89f4a5a582"],"basis":"shared function","functions":["AESFuncs","AuthorizationError","clean_path","save_minions"]}]}]}}