6.2.4
5 years ago
1 months ago
Known vulnerabilities in the fast-jwt package. This does not include vulnerabilities belonging to this package’s dependencies.
Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.
Fix for free| Vulnerability | Vulnerable Version |
|---|---|
fast-jwt is a Fast JSON Web Token implementation Affected versions of this package are vulnerable to Improper Authentication in the async key resolver when it returns an empty string or zero-length buffer. An attacker can gain unauthorized access and assume arbitrary identities by forging JWTs signed with an empty secret, which are then accepted as valid tokens. Note: This is only exploitable if the application uses an asynchronous callback for key resolution and the callback can return an empty string or zero-length buffer, while HMAC algorithms are allowed (default configuration). How to fix Improper Authentication? Upgrade | <6.2.4 |
fast-jwt is a Fast JSON Web Token implementation Affected versions of this package are vulnerable to Incorrect Regular Expression in the How to fix Incorrect Regular Expression? Upgrade | <6.2.1 |
fast-jwt is a Fast JSON Web Token implementation Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the How to fix Regular Expression Denial of Service (ReDoS)? Upgrade | >=5.0.0 <6.2.1 |
fast-jwt is a Fast JSON Web Token implementation Affected versions of this package are vulnerable to Not Failing Securely ('Failing Open') due to improper validation of the How to fix Not Failing Securely ('Failing Open')? Upgrade | <6.2.0 |
fast-jwt is a Fast JSON Web Token implementation Affected versions of this package are vulnerable to Use of a Broken or Risky Cryptographic Algorithm in the Note: This vulnerability is caused by an incomplete fix for CVE-2023-48223. How to fix Use of a Broken or Risky Cryptographic Algorithm? Upgrade | <6.2.0 |
fast-jwt is a Fast JSON Web Token implementation Affected versions of this package are vulnerable to Improper Validation of Unsafe Equivalence in Input in the Note: This is only exploitable if caching is enabled and a custom How to fix Improper Validation of Unsafe Equivalence in Input? Upgrade | <6.1.0 |