Go JOSE: Panic during CBC-HMAC processing
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/go-jose/go-jose/v4 4.1.5.
Go JOSE provides an implementation of the Javascript Object Signing and Encryption set of standards in Go, including support for JSON Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token (JWT) standards. Prior to 4.1.5, decrypting untrusted JWE ciphertext with A128CBC-HS256, A192CBC-HS384, or A256CBC-HS512 can pass an empty ciphertext buffer to CBC-HMAC unpadding. Insufficient validation allows the empty buffer to be indexed, causing a panic and denial of service. Applications that decrypt attacker-controlled ciphertext with one of these content-encryption algorithms are affected. This issue is fixed in version 4.1.5.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| go-jose | <4.1.5 | ||
| go: github.com/go-jose/go-jose/v3 | <=3.0.5 | ||
| go: github.com/go-jose/go-jose/v4 | <4.1.5 | 4.1.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in github.com/go-jose/go-jose/v3 (Go), strongest first
Embed
A live severity badge for an advisory, README or ticket