In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Authentication Bypass vulnerabilities in an interactive lesson.
Start learningUpgrade jwcrypto
to version 1.4 or higher.
Affected versions of this package are vulnerable to Authentication Bypass because it is possible to auto-detect the type of token being provided. This can lead the application to incorrect conclusions about the trustworthiness of the token.
If the private key corresponding to the public key used to encrypt the JWE is not available to the application an exception will be raised.
If the JWK is specified with the 'use' parameter set to 'sig' (as expected for keys used only for signing/verification) an exception will be raised.
If the JWK is specified with the 'key_ops' parameter set and it does not include the 'decrypt' operation an exception will be raised.
Applications may check the token type before validation, in this case they would fail to detect an expected JWS