CVEvulnerability
CVE-2017-18924
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2020-10-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-94
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.
Affected configurations
• oauth2-server project oauth2-server (<= 3.1.1)
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467 Third Party Advisory
- https://github.com/oauthjs/node-oauth2-server/issues/637 Exploit, Third Party Advisory
- https://github.com/oauthjs/node-oauth2-server/pull/452 Patch, Third Party Advisory
- https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15 Exploit, Third Party Advisory
- https://tools.ietf.org/html/rfc7636 Third Party Advisory
- https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467 Third Party Advisory
- https://github.com/oauthjs/node-oauth2-server/issues/637 Exploit, Third Party Advisory
- https://github.com/oauthjs/node-oauth2-server/pull/452 Patch, Third Party Advisory
- https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15 Exploit, Third Party Advisory
- https://tools.ietf.org/html/rfc7636 Third Party Advisory