VulnerabilityModified
CVE-2017-18924
It does not prevent authorization code injection.
HIGH 7.5EPSS 2.19%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.19%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 2.19% probability · 81th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- oauth2-server project/oauth2-server
- Source
- cve@mitre.org
References
- https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467Third Party Advisory
- https://github.com/oauthjs/node-oauth2-server/issues/637Exploit, Third Party Advisory
- https://github.com/oauthjs/node-oauth2-server/pull/452Patch, Third Party Advisory
- https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15Exploit, Third Party Advisory
- https://tools.ietf.org/html/rfc7636Third Party Advisory
- https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467Third Party Advisory
- https://github.com/oauthjs/node-oauth2-server/issues/637Exploit, Third Party Advisory
- https://github.com/oauthjs/node-oauth2-server/pull/452Patch, Third Party Advisory
- https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15Exploit, Third Party Advisory
- https://tools.ietf.org/html/rfc7636Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.