SCA: security update for Duende.AccessTokenManagement.OpenIdConnect (GHSA-7mr7-4f54-vcx5)

medium Tenable Self-Hosted Container Security Plugin ID 412153

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2024-51987)

See Also

https://github.com/advisories/GHSA-7mr7-4f54-vcx5

Plugin Details

Severity: Medium

ID: 412153

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.46

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2024-51987

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 1.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/7/2024

Vulnerability Publication Date: 11/7/2024

Reference Information

CVE: CVE-2024-51987

cwe: CWE-270