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.
| Software | From | Fixed in |
|---|---|---|
github.com/go-jose/go-jose/v3
|
- | 3.0.1 |
github.com/square/go-jose
|
- | 2.6.2 |