All CVEs / Oauth2-server Project
CVE-2017-18924Oauth2-server Project Oauth2-server
High 7.5 No auth needed
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Oct 4, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Oauth2-server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | oauth2-server |
≤ 3.1.1 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-2fw4-mgq9-39cx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| oauth2-server_project | oauth2-server | ≤ 3.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- codeburst.io Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- tools.ietf.org Exploit Third Party Advisory
- tools.ietf.org Third Party Advisory