GHSA-2c7c-3mj9-8fqh
medium
Decryption of malicious PBES2 JWE objects can consume unbounded system resources
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- GO-2023-2334
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/go-jose/go-jose/v3 (Go) | before 3.0.1 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/square/go-jose (Go) | before 2.6.2, all versions | GitHub Advisory Database, Go Vulnerability Database |
Classification
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-2c7c-3mj9-8fqh changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-2334 changed 2026-02-04 | CC-BY-4.0 |