HIGH7.5
GHSA-2fw4-mgq9-39cx
Code Injection in oauth2-server
Details
"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.'"
Are you affected?
Enter the version of the package you're using.
Affected packages
npm/oauth2-server
Introduced in:
0No fixed version published yet for oauth2-server (npm). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-18924[ADVISORY]
- https://github.com/oauthjs/node-oauth2-server/issues/637[WEB]
- https://github.com/oauthjs/node-oauth2-server/pull/452[WEB]
- https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467[WEB]
- https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15[WEB]
- https://tools.ietf.org/html/rfc7636[WEB]