GHSA-2c7c-3mj9-8fqh Decryption of malicious PBES2 JWE objects can consume unbounded system resources
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| square github.com/square/go-jose(Go) | < 2.6.2; All versions | 2.6.2 | Partially fixed |
| go-jose(Go) | < 3.0.1 | 3.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| go-jose(Go) | < 3.0.1 | 3.0.1 |
| square github.com/square/go-jose(Go) | < 2.6.2 | 2.6.2 |
| square github.com/square/go-jose(Go) | All versions | No fix listed |
References
- github.com issue-tracking
- github.com patch
- github.com patch
- github.com product
- github.com