clean_path symlink bypass and virtualenv code injection
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VMware | SALT | affected |
|
No data.
No data.
No data available yet.
Vendor Solution
clean_path() resolves symlinks before checking the boundary, and distribution is validated against an allowlist of PEP 508 distribution name characters. Upgrade to Salt 3006.31, 3007.18, or 3008.6, which contain the fix.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Link | Providers |
|---|---|
| https://saltproject.io/blog/advisory-3006-31-3007-18-3008-6 |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | clean_path() normalized paths before resolving symlinks, which let a symlink survive and bypass the directory boundary check. virtualenv.get_distribution_path() guarded its distribution parameter with a keyword blocklist that could be bypassed. An authenticated eauth user with permission to call virtualenv functions can inject and execute arbitrary Python code as the salt-minion process user. | |
| Title | clean_path symlink bypass and virtualenv code injection | |
| Weaknesses | CWE-94 | |
| References |
| |
| Metrics |
cvssV3_1
|
No data.
Improper Control of Generation of Code ('Code Injection')