go-joseに深い入れ子のJSON解析でサービス停止の脆弱性
Summary
go-joseでは、深く入れ子になったJSONを解析すると、Goのスタック上限に達してアプリケーションが異常終了することがあります。影響を受けるのは、v4の4.1.5より前とv3の3.0.5以前です。v4は4.1.5への更新で修正されるため、利用中のバージョンを確認し、信頼できないJSONを扱う場合は早めに更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
go-joseでは、深く入れ子になったJSONを解析すると、Goのスタック上限に達してアプリケーションが異常終了することがあります。影響を受けるのは、v4の4.1.5より前とv3の3.0.5以前です。v4は4.1.5への更新で修正されるため、利用中のバージョンを確認し、信頼できないJSONを扱う場合は早めに更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| go-josego-jose | — | Not listed |
| gogithub.com/go-jose/go-jose/v4 |
< 4.1.5→ 4.1.5 |
4.1.5 |
| gogithub.com/go-jose/go-jose/v3 |
≤ 3.0.5→ Not listed |
Not listed |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-116586 golang-gopkg-square-go-jose.v2, golang-gopkg-square-go-jose.v1, golang-github-go-jose-go-jose.v3 +1 more No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-116586 golang-gopkg-square-go-jose.v2, golang-github-go-jose-go-jose.v3, golang-github-go-jose-go-jose No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com