High severity · published Oct 4, 2020
CVE-2017-18924
oauth2-server (aka node-oauth2-server) through 3.1.1 implements OAuth 2.0 without PKCE
7.5
CVSS
2.2%
EPSS
No
On KEV
Description
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 of "RFC 6749 compliant" is valid and not misleading and I also therefore wouldn't describe this as a "vulnerability" with the library per se.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.2% · higher than 82% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OA
Oauth2-server · Oauth2-server Project
through 3.1.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-18924
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-18924
Third Party Advisory
https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467
Exploit
https://github.com/oauthjs/node-oauth2-server/issues/637
Patch
https://github.com/oauthjs/node-oauth2-server/pull/452
Exploit
https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15
Third Party Advisory
https://tools.ietf.org/html/rfc7636
More from Oauth2-server
9.8
CVE-2025-31691
OAuth2 Server - Moderately critical - Access bypass - SA-CONTRIB-2025-020
7.2
CVE-2020-26938
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…
