Skip to main content

Improper Verification of Cryptographic Signature

CVE-2024-37568

Severity High
Score 7.5/10

Summary

The lepture Authlib versions prior to 1.3.1, have 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 issue affects joserfc versions prior to 0.11.0. (This is similar to CVE-2022-29217 and CVE-2024-33663.)

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • NONE

CWE-347 - Improper Verification of Cryptographic Signature

A cryptographic protocol is meant to ensure that services are provided in a secure manner. An application with absent or improper verification of cryptographic signatures allows malicious users to feed false messages to valid users or to disclose sensitive data, subverting the goals of the protocol. This can lead to security failures such as false authentication, account hijacking, and privilege escalation.

Advisory Timeline

  • Published