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
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2021-09-27T06:11:20

Updated: 2024-08-04T03:15:29.285Z

Reserved: 2021-09-24T00:00:00

Link: CVE-2021-41580

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-09-27T07:15:06.803

Modified: 2024-08-04T04:15:49.637

Link: CVE-2021-41580

cve-icon Redhat

No data.