Description
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
Published: 2021-09-27
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-f794-r6xc-hf3v Improper Access Control in passport-oauth2
History

No history.

Subscriptions

Passportjs Passport-oauth2
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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

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

Link: CVE-2021-41580

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T06:26:27.813

Link: CVE-2021-41580

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses