Description
The RedirectHandler middleware in microsoft/kiota-java (com.microsoft.kiota:microsoft-kiota-http-okHttp v1.9.0) and other Kiota libraries fails to strip sensitive HTTP headers when following 3xx redirects to a different host or scheme. Only the Authorization header is removed; Cookie, Proxy-Authorization, and all custom headers are forwarded to the redirect target.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
microsoft kiota-java
< 1.9.1affected
microsoft Microsoft.Kiota.Abstractions
< 1.22.0affected
microsoft github.com/microsoft/kiota-http-go
< 1.5.5affected
microsoft kiota-typescript
< 1.0.0-preview.100affected
microsoft microsoft-kiota-abstractions
< 1.9.1affected
microsoft microsoft-kiota-http
< 1.9.9affected