authlib@1.1.0 vulnerabilities

The ultimate Python library in building OAuth and OpenID Connect servers and clients.

Direct Vulnerabilities

Known vulnerabilities in the authlib package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Improper Verification of Cryptographic Signature

authlib is a library in building OAuth and OpenID Connect servers.

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature which allow HMAC verification with ANY asymmetric public key. If the' algorithm' field is left unspecified, an attacker can manipulate the verification process by exploiting the flexibility in algorithm selection during the jwt.decode call.

How to fix Improper Verification of Cryptographic Signature?

Upgrade authlib to version 1.3.1 or higher.

[,1.3.1)