PT-2024-35077
CVE-2024-51987
·
تاريخ النشر
2024-11-07
·
تاريخ التحديث
2024-11-08
الوصف من
CVSS 3.1
5.4
متوسطةالمقاييسAV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Duende.AccessTokenManagement.OpenIdConnect versions prior to 3.0.1
Description
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.Recommendations
For versions prior to 3.0.1, upgrade to Duende.AccessTokenManagement.OpenIdConnect 3.0.1 to fix the issue.
As a temporary workaround, consider using the
HttpConext.GetUserAccessTokenAsync extension method or the IUserTokenManagementService.GetAccessTokenAsync method instead of AddUserAccessTokenHttpClient to create an HttpClient that automatically adds a managed token to outgoing requests. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾