CORS origin reflection and OPTIONS session bypass in salt-api (CherryPy)
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
Allowed origins are restricted to the cors_origin allowlist, and the preflight session assignment was removed. Upgrade to Salt 3006.31, 3007.18, or 3008.6, which contain the fix. Breaking change: browser clients that rely on a cross-origin session cookie must use the X-Auth-Token header or have their origin listed in cors_origin. There is no option to restore the old behavior.
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 | The CherryPy REST API reflected the request Origin header in Access-Control-Allow-Origin while also allowing credentials, and the CORS preflight handler set a session token on unauthenticated OPTIONS requests. Any website can make credentialed cross-origin requests using an authenticated administrator's browser session, and the preflight handler can bypass the authentication check. | |
| Title | CORS origin reflection and OPTIONS session bypass in salt-api (CherryPy) | |
| Weaknesses | CWE-942 | |
| References |
| |
| Metrics |
cvssV3_1
|
No data.