Technical impact
The joserfc library, before version 1.7.5, processes every recipient in a JWE General JSON Serialization without a limit. An unauthenticated attacker can submit a crafted JWE with an arbitrary number of recipients, forcing the library to perform the same RSA private‑key decryption for each entry and exhausting CPU resources. The flaw does not compromise confidentiality or integrity; it only impacts availability by causing a denial of service.
Affected Systems
This issue affects the Python JSON Object Signing and Encryption library Authlib:joserfc in all releases prior to 1.7.5. Users who rely on the default decrypt_json() call for JWE messages are susceptible, especially if their services accept JWE payloads that might contain large recipient lists.
Risk and Exploitability
The vulnerability carries a CVSS score of 7.5, indicating a high impact attack. The EPSS score is not available, but the lack of authentication and the ability to trigger the loop remotely make it a compelling target for a DoS attempt. The vulnerability is not listed in the CISA KEV catalog, and there are no known public exploits documented as of the latest advisory, but the stated DoS potential remains significant.
Github GHSA