Decryption of malicious PBES2 JWE objects can consume unbounded system resources
Priority LOW 38CWE-400Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-400.
Summary
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.
Why it matters now
Fix Fixed github.com/go-jose/go-jose/v3 (Go): 3.0.1github.com/square/go-jose (Go): 2.6.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/go-jose/go-jose/v3 (Go) | before 3.0.1 | 3.0.1 | Patch available | GHSA-2c7c-3mj9-8fqh |
| — | github.com/square/go-jose (Go) | before 2.6.2 | 2.6.2 | Patch available | GHSA-2c7c-3mj9-8fqh |
- github.com/go-jose/go-jose/v3 (Go) Vendor— Affected before 3.0.1 Fixed in 3.0.1 Patch available GHSA-2c7c-3mj9-8fqh
- github.com/square/go-jose (Go) Vendor— Affected before 2.6.2 Fixed in 2.6.2 Patch available GHSA-2c7c-3mj9-8fqh
Remediation
- Fix · GHSA-2c7c-3mj9-8fqh github.com/go-jose/go-jose/v3 (Go) Fixed in 3.0.1 Advisory →
- Fix · GHSA-2c7c-3mj9-8fqh github.com/square/go-jose (Go) Fixed in 2.6.2 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-2c7c-3mj9-8fqh
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences