Approved changes feed: RSS · Atom
cpe:2.3:a:nearform:fast-jwt:*:*:*:*:*:*:*:*
part: a version: * update: *
| Vendor | Nearform (7d4e3848-5450-5868-b418-5365abc4686a) |
|---|---|
| Product | Fast Jwt (496d484f-428d-5330-b2e9-14f878b69b1a) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
| Notes | Imported from purl2cpe mapping |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:github/nearform/fast-jwt |
purl2cpe | 2026-06-01 10:10:57.728238 |
pkg:npm/fast-jwt |
purl2cpe | 2026-06-01 10:10:57.728241 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-44351 |
vulnerable | 2026-06-08 08:05:10.984885 |
fast-jwt: Empty HMAC secret accepted via async key resolver - JWT auth bypass
CRITICAL (9.1)
fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.2.4, a critical authentication-bypass vulnerability in fast-jwt's async key-resolver flow allows any unauthenticated attacker to forge arbitrary JWTs that are accepted as authentic. When the application's key resolver returns an empty string (''), for example via the common keys[decoded.header.kid] || '' JWKS-style fallback, fast-jwt converts it to a zero-length Buffer, hands it to crypto.createSecretKey, derives allowedAlgorithms = ['HS256','HS384','HS512'] from it, and then verifies the token's signature against an empty-key HMAC. The attacker simply computes HMAC-SHA256(key='', input='${header}.${payload}'), which Node accepts without complaint — and the verifier returns the attacker-chosen payload (sub, admin, scopes, etc.) as authentic. This vulnerability is fixed in 6.2.4.
Published: 2026-05-13T19:12:33.347Z
Updated: 2026-05-14T18:13:32.626Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-35042 |
vulnerable | 2026-06-08 07:59:13.436570 |
fast-jwt accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation)
HIGH (7.5)
fast-jwt provides fast JSON Web Token (JWT) implementation. In 6.1.0 and earlier, fast-jwt does not validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. When a JWS token contains a crit array listing extensions that fast-jwt does not understand, the library accepts the token instead of rejecting it. This violates the MUST requirement in the RFC.
Published: 2026-04-06T17:02:12.180Z
Updated: 2026-04-07T15:59:49.872Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-35041 |
vulnerable | 2026-06-08 07:59:13.436289 |
ReDoS in fast-jwt when using RegExp in allowed* leading to CPU exhaustion during token verification
MEDIUM (4.2)
fast-jwt provides fast JSON Web Token (JWT) implementation. From 5.0.0 to 6.2.0, a denial-of-service condition exists in fast-jwt when the allowedAud verification option is configured using a regular expression. Because the aud claim is attacker-controlled and the library evaluates it against the supplied RegExp, a crafted JWT can trigger catastrophic backtracking in the JavaScript regex engine, resulting in significant CPU consumption during verification. This vulnerability is fixed in 6.2.1.
Published: 2026-04-09T14:55:22.807Z
Updated: 2026-04-09T16:15:25.352Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-35040 |
vulnerable | 2026-06-08 07:59:13.435923 |
fast-jwt: Stateful RegExp (/g or /y) causes non-deterministic allowed-claim validation (logical DoS)
MEDIUM (5.3)
fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.2.1, using certain modifiers on RegExp objects in the allowedAud, allowedIss, allowedSub, allowedJti, or allowedNonce options in verify functions can cause certain unintended behaviours. This is because some modifiers are stateful and will cause failures in every second verification attempt regardless of the validity of the token provided. Such modifiers are /g (global matching) and /y (sticky matching). This does NOT allow invalid tokens to be accepted, only for valid tokens to be improperly rejected in some configurations. Instead it causes 50% of valid authentication requests to fail in an alternating pattern. This vulnerability is fixed in 6.2.1.
Published: 2026-04-09T14:52:56.436Z
Updated: 2026-04-13T20:03:41.746Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-35039 |
vulnerable | 2026-06-08 07:59:13.435633 |
fast-jwt Affected by Cache Confusion via cacheKeyBuilder Collisions Can Return Claims From a Different Token (Identity/Authorization Mixup)
CRITICAL (9.1)
fast-jwt provides fast JSON Web Token (JWT) implementation. From 0.0.1 to before 6.2.0, setting up a custom cacheKeyBuilder method which does not properly create unique keys for different tokens can lead to cache collisions. This could cause tokens to be mis-identified during the verification process leading to valid tokens returning claims from different valid tokens and users being mis-identified as other users based on the wrong token. Version 6.2.0 contains a patch.
Published: 2026-04-06T16:59:43.124Z
Updated: 2026-05-13T15:12:43.989Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-34950 |
vulnerable | 2026-06-08 07:59:13.362576 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-30144 |
vulnerable | 2026-06-08 07:16:59.113267 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-48223 |
vulnerable | 2026-06-08 06:14:26.178870 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.