Overview
Versions before and including 5.3.3, we are not enforcing the algorithms entry to be specified in the configuration. When algorithms is not specified in the configuration, with the combination of jwks-rsa or potentially other asymmetric crypto libraries, it may lead to authorization bypass.Am I affected?
You are affected by this vulnerability if all of the following conditions apply:- You are using express-, AND
- You do not have algorithms configured in your express-jwt configuration, AND
- You are using libraries such as jwks-rsa as the secret.