REDHAT-BUG-2542633: High severity pypi/authlib vulnerability
Authlib (v1.7.2 and below) contains a signature verification bypass vulnerability. The JsonWebSignature.deserializejson() method accepts a JSON Serialization JWS object and returns the payload as successfully verified without checking for a signature and without requiring a cryptographic key.
Affected Software
Event History
Frequently Asked Questions
What must an attacker be able to send to exploit this issue?
An attacker must be able to provide a JSON Serialization JWS object to application code that calls JsonWebSignature.deserialize_json() and treats its returned payload as verified.
Are applications affected if they use Authlib for other token or signature-processing paths?
The provided information specifically identifies JsonWebSignature.deserialize_json(). Whether other Authlib APIs or application flows are affected is not stated.
How can I determine whether my application is exposed?
Review code and dependencies for Authlib version 1.7.2 or below and identify uses of JsonWebSignature.deserialize_json(). Exposure exists where the returned payload is relied upon as successfully signature-verified.