@node-oauth/oauth2-server: PKCE code_verifier ABNF not enforced in token exchange allows brute-force redemption of intercepted authorization codes
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| node-oauth | node-oauth2-server | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Node-oauth | Node-oauth2-server |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-jhm7-29pj-4xvf | @node-oauth/oauth2-server: PKCE code_verifier ABNF not enforced in token exchange allows brute-force redemption of intercepted authorization codes |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.259% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Node-oauth node-oauth\/oauth2-server
|
|
| CPEs | cpe:2.3:a:node-oauth:node-oauth\/oauth2-server:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Node-oauth node-oauth\/oauth2-server
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Node-oauth
Node-oauth node-oauth2-server |
|
| Vendors & Products |
Node-oauth
Node-oauth node-oauth2-server |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | @node-oauth/oauth2-server is a module for implementing an OAuth2 server in Node.js. The token exchange path accepts RFC7636-invalid code_verifier values (including one-character strings) for S256 PKCE flows. Because short/weak verifiers are accepted and failed verifier attempts do not consume the authorization code, an attacker who intercepts an authorization code can brute-force code_verifier guesses online until token issuance succeeds. | |
| Title | @node-oauth/oauth2-server: PKCE code_verifier ABNF not enforced in token exchange allows brute-force redemption of intercepted authorization codes | |
| Weaknesses | CWE-1289 CWE-307 |
|
| References |
| |
| Metrics |
cvssV3_1
|