Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-7mr7-4f54-vcx5

Опубликовано: 07 нояб. 2024
Источник: github
Github: Прошло ревью
CVSS4: 5.3
CVSS3: 5.4

Описание

HTTP Client uses incorrect token after refresh

Impact

HTTP Clients created by AddUserAccessTokenHttpClient may use a different user's access token after a token refresh. This occurs because a refreshed token will be captured in pooled HttpClient instances, which may be used by a different user.

Workarounds

Instead of using AddUserAccessTokenHttpClient to create an HttpClient that automatically adds a managed token to outgoing requests, you can use the HttpConext.GetUserAccessTokenAsync extension method or the IUserTokenManagementService.GetAccessTokenAsync method.

Patches

This issue is fixed in Duende.AccessTokenManagement.OpenIdConnect 3.0.1.

Пакеты

Наименование

Duende.AccessTokenManagement.OpenIdConnect

nuget
Затронутые версииВерсия исправления

= 3.0.0

3.0.1

EPSS

Процентиль: 29%
0.00106
Низкий

5.3 Medium

CVSS4

5.4 Medium

CVSS3

Дефекты

CWE-270

Связанные уязвимости

CVSS3: 5.4
nvd
около 1 года назад

Duende.AccessTokenManagement.OpenIdConnect is a set of .NET libraries that manage OAuth and OpenId Connect access tokens. HTTP Clients created by `AddUserAccessTokenHttpClient` may use a different user's access token after a token refresh occurs. This occurs because a refreshed token will be captured in pooled `HttpClient` instances, which may be used by a different user. Instead of using `AddUserAccessTokenHttpClient` to create an `HttpClient` that automatically adds a managed token to outgoing requests, you can use the `HttpConext.GetUserAccessTokenAsync` extension method or the `IUserTokenManagementService.GetAccessTokenAsync` method. This issue is fixed in Duende.AccessTokenManagement.OpenIdConnect 3.0.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.

EPSS

Процентиль: 29%
0.00106
Низкий

5.3 Medium

CVSS4

5.4 Medium

CVSS3

Дефекты

CWE-270