NodeJS/passport-oauth2/1.4.0


OAuth 2.0 authentication strategy for Passport.

https://www.npmjs.com/package/passport-oauth2
MIT

1 Security Vulnerabilities

Improper Access Control in passport-oauth2

Published date: 2021-09-29T17:18:32Z
CVE: CVE-2021-41580
Links:

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.

Affected versions: ["1.0.0", "1.1.0", "1.1.1", "1.1.2", "1.2.0", "1.3.0", "1.4.0", "1.5.0", "1.6.0"]
Secure versions: [1.6.1, 1.7.0, 1.8.0]
Recommendation: Update to version 1.8.0.

12 Other Versions

Version License Security Released
1.8.0 MIT 2024-02-02 - 23:08 3 months
1.7.0 MIT 2023-03-02 - 22:39 about 1 year
1.6.1 MIT 2021-09-24 - 21:36 over 2 years
1.6.0 MIT 1 2021-07-01 - 23:12 almost 3 years
1.5.0 MIT 1 2019-03-15 - 18:21 about 5 years
1.4.0 MIT 1 2016-12-20 - 20:13 over 7 years
1.3.0 MIT 1 2016-03-30 - 02:39 about 8 years
1.2.0 MIT 1 2016-02-09 - 03:01 about 8 years
1.1.2 MIT 1 2014-03-08 - 20:59 about 10 years
1.1.1 MIT 1 2013-09-11 - 15:36 over 10 years
1.1.0 MIT 1 2013-08-15 - 15:33 over 10 years
1.0.0 MIT 1 2013-08-15 - 00:46 over 10 years