GitHub Advisoryadvisory · npm

GHSA-2fw4-mgq9-39cx Code Injection in oauth2-server

HIGH Published 2021-04-22 Modified 2021-04-21 Official page ↗
Aliases
CVE-2017-18924
Ecosystem
npm
Packages
oauth2-server
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-94
Reviewed
2021-04-21

Affected packages

• npm oauth2-server: <= 3.1.1 (no fix yet)

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.'"

Related

Alias · CVE (1)

  • CVE-2017-18924 oauth2-server (aka node-oauth2-server) through 3.1.1 implements OAuth 2.0 without PKCE. vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References