Skip to content

Code Injection in oauth2-server

High severity GitHub Reviewed Published Apr 22, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

npm oauth2-server (npm)

Affected versions

<= 3.1.1

Patched versions

None

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

References

Published by the National Vulnerability Database Oct 4, 2020
Reviewed Apr 21, 2021
Published to the GitHub Advisory Database Apr 22, 2021
Last updated Feb 1, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2017-18924

GHSA ID

GHSA-2fw4-mgq9-39cx

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.