NodeJS/oauth2-server/2.4.1


Complete, framework-agnostic, compliant and well tested module for implementing an OAuth2 Server in node.js

https://www.npmjs.com/package/oauth2-server
Apache-2.0

2 Security Vulnerabilities

Code Injection in oauth2-server

Published date: 2021-04-22T15:53:45Z
CVE: CVE-2017-18924
Links:

oauth2-server (aka node-oauth2-server) through 3.1.1 implements OAuth 2.0 without PKCE. It does not prevent authorization code injection. This is similar to CVE-2020-7692. NOTE: the vendor states 'As RFC7636 is an extension, I think the claim in the Readme ofRFC 6749 compliantis valid and not misleading and I also therefore wouldn't describe this as avulnerabilitywith the library per se.'

Affected versions: ["2.2.2", "2.3.0", "2.4.0", "2.4.1", "3.0.0-b1", "3.0.0-b2", "3.0.0-b3", "3.0.0-b3.1", "3.0.0-b4", "3.0.0", "3.0.1", "3.1.0-beta.1", "3.0.2", "3.1.0-rc1", "3.1.0", "3.1.1"]
Secure versions: []

oauth2-server through 3.1.1 vulnerable to Open Redirect

Published date: 2022-08-30T00:00:26Z
CVE: CVE-2020-26938
Links:

In oauth2-server (aka node-oauth2-server) through 3.1.1, the value of the redirect_uri parameter received during the authorization and token request is checked against an incorrect URI pattern ([a-zA-Z][a-zA-Z0-9+.-]+:) before making a redirection. This allows a malicious client to pass an XSS payload through the redirect_uri parameter while making an authorization request. NOTE: this vulnerability is similar to CVE-2020-7741.

Affected versions: ["2.2.2", "2.3.0", "2.4.0", "2.4.1", "3.0.0-b1", "3.0.0-b2", "3.0.0-b3", "3.0.0-b3.1", "3.0.0-b4", "3.0.0", "3.0.1", "3.1.0-beta.1", "3.0.2", "3.1.0-rc1", "3.1.0", "3.1.1"]
Secure versions: []

16 Other Versions

Version License Security Released
3.1.1 MIT 2 2020-07-14 - 18:27 almost 4 years
3.1.0 MIT 2 2020-07-01 - 08:14 almost 4 years
3.1.0-rc1 MIT 2 2020-06-27 - 14:13 almost 4 years
3.1.0-beta.1 MIT 2 2018-08-27 - 15:20 over 5 years
3.0.2 MIT 2 2020-05-24 - 14:58 almost 4 years
3.0.1 MIT 2 2018-08-27 - 11:35 over 5 years
3.0.0 MIT 2 2017-08-09 - 15:41 over 6 years
3.0.0-b4 MIT 2 2017-04-26 - 17:00 almost 7 years
3.0.0-b3 MIT 2 2016-11-10 - 11:58 over 7 years
3.0.0-b2 SEE LICENSE IN LICENSE 2 2016-03-02 - 20:40 about 8 years
3.0.0-b3.1 MIT 2 2016-11-12 - 03:09 over 7 years
3.0.0-b1 SEE LICENSE IN LICENSE 2 2016-03-02 - 20:39 about 8 years
2.4.1 Apache-2.0 2 2015-06-29 - 09:39 almost 9 years
2.4.0 Apache-2.0 2 2015-03-11 - 15:46 about 9 years
2.3.0 Apache-2.0 2 2014-09-14 - 21:19 over 9 years
2.2.2 Apache-2.0 2 2014-07-23 - 07:40 almost 10 years