CVE-2021-41580 – passport-oauth2
Package
Manager: npm
Name: passport-oauth2
Vulnerable Version: >=0 <1.6.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00474 pctl0.63821
Details
Improper Access Control in passport-oauth2 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.
Metadata
Created: 2021-09-29T17:18:32Z
Modified: 2021-10-06T13:23:09Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-f794-r6xc-hf3v/GHSA-f794-r6xc-hf3v.json
CWE IDs: ["CWE-287"]
Alternative ID: GHSA-f794-r6xc-hf3v
Finding: F039
Auto approve: 1