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.)
{
"severity": "HIGH",
"cwe_ids": [
"CWE-284",
"CWE-327",
"CWE-347"
],
"github_reviewed_at": "2024-06-10T15:59:18Z",
"nvd_published_at": "2024-06-09T19:15:52Z",
"github_reviewed": true
}