Azure.Core is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor
59
CVE Score
Medium
Exposure of Sensitive Information to an Unauthorized Actor
Azure.Core includes BearerTokenAuthenticationPolicy, which attaches a cached bearer token as the Authorization header on every per-retry send. When the pipeline follows a redirect to a different host, the policy re-attaches the original access token even though RedirectPolicy had stripped it, sending the credential to the redirect target. An attacker-controlled or otherwise unintended redirect host can therefore receive an access token issued for the original service. The fix detects when the request authority changes, defensively strips any Authorization header, and skips re-authorization and challenge handling for the redirected host.
Upgrade the Azure.Core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your client follows an HTTP redirect to a different host.
1.17.0 - 1.58.0
Fixed in 1.59.0Azure.Core is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 1.17.0 - 1.58.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.