Decryption of malicious PBES2 JWE objects can consume unbounded system resources
Moderate severity
GitHub Reviewed
Published
Nov 21, 2023
to the GitHub Advisory Database
•
Updated Feb 27, 2024
The go-jose package is subject to a "billion hashes attack" causing denial-of-service when decrypting JWE inputs. This occurs when an attacker can provide a PBES2 encrypted JWE blob with a very large p2c value that, when decrypted, produces a denial-of-service.
References