Go Vulnerability Database
GO-2026-4945
Go JOSE Panics in JWE decryption in github.com/go-jose/go-jose
Details
The go-jose package is subject to a panic when decrypting certain JSON Web Encryption (JWE) tokens. This occurs when an attacker can provide a maliciously crafted JWE token that triggers an unhandled exception during the decryption process, leading to a denial-of-service.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/go-jose/go-jose/v3 | All versions before 3.0.5 (fixed in 3.0.5) |
| Go | github.com/go-jose/go-jose/v4 | All versions before 4.1.4 (fixed in 4.1.4) |