HIGH 7.4 PyPI

Authlib has algorithm confusion with asymmetric public keys

GHSA-5357-c2jx-v7qh · CVE-2024-37568 · PYSEC-2024-52

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys. Unless an algorithm is specified in a jwt.decode call, HMAC verification is allowed with any asymmetric public key. (This is similar to CVE-2022-29217 and CVE-2024-33663.)

Ready to move

Start Securing

Free, no credit card | First findings in minutes