SCA: security update for passport-oauth2 (GHSA-f794-r6xc-hf3v)

medium Tenable Self-Hosted Container Security Plugin ID 414355

Description

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

- The passport-oauth2 package before 1.6.1 for Node.js mishandles the error condition of failure to obtain
an access token. This is exploitable in certain use cases where an OAuth identity provider uses an HTTP
200 status code for authentication-failure error reports, and an application grants authorization upon
simply receiving the access token (i.e., does not try to use the token). NOTE: the passport-oauth2 vendor
does not consider this a passport-oauth2 vulnerability (CVE-2021-41580)

See Also

https://github.com/advisories/GHSA-f794-r6xc-hf3v

Plugin Details

Severity: Medium

ID: 414355

Version: Revision 1.4

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: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2021-41580

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/29/2021

Vulnerability Publication Date: 9/27/2021

Reference Information

CVE: CVE-2021-41580

cwe: CWE-287