Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Oauth2-Server Project | Oauth2-Server | <= 3.1.1 |
Related Weaknesses (CWE)
References
- https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467Third Party Advisory
- https://github.com/oauthjs/node-oauth2-server/issues/637ExploitThird Party Advisory
- https://github.com/oauthjs/node-oauth2-server/pull/452PatchThird Party Advisory
- https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15ExploitThird 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/637ExploitThird Party Advisory
- https://github.com/oauthjs/node-oauth2-server/pull/452PatchThird Party Advisory
- https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15ExploitThird Party Advisory
- https://tools.ietf.org/html/rfc7636Third Party Advisory
FAQ
What is CVE-2017-18924?
CVE-2017-18924 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2017-18924?
CVE-2017-18924 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-18924?
Check the references section above for vendor advisories and patch information. Affected products include: Oauth2-Server Project Oauth2-Server.