Docker Sandboxes OAuth response masking could be bypassed with a case-variant token host
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Sandboxes 0.47.0.
Docker Sandboxes compared OAuth token-endpoint hostnames case-sensitively when deciding whether to mask managed credential responses, while request routing treated DNS hostnames case-insensitively. Untrusted code inside a sandbox could use a case-variant hostname to reach the genuine provider endpoint while bypassing response masking. If a user completed the OAuth flow, the provider's access and refresh tokens could be returned unmasked to the sandbox, exposing host-managed credentials.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Docker | Sandboxes | >=0.21.0 <0.47.0 | 0.47.0 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Docker, strongest first
Embed
A live severity badge for an advisory, README or ticket