Go JOSE: Panics in JSON parsing
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, parsing attacker-controlled JSON through go-jose allows deeply nested arrays or objects to exceed Go's stack limit. The resulting stack overflow crashes the application and permits denial of service in applications that parse untrusted JSON through go-jose. 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