Technical impact
The vulnerability resides in the JSON parsing routine of Go JOSE, a library providing JWE, JWS, and JWT support in Go. Attackers can craft deeply nested JSON objects or arrays that cause Go’s runtime stack limit to be exceeded during parsing, leading to a stack overflow and application crash. The result is a denial of service condition. The flaw is a stack overflow weakness, identified as CWE‑674 and CWE‑770.
Affected Systems
Go JOSE (go-jose) versions prior to 4.1.5 are affected. Any system that incorporates older releases and parses untrusted JSON through go-jose potentially exposes the vulnerability.
Risk and Exploitability
The CVSS score of 6.9 reflects moderate severity. The EPSS score is < 1%, indicating a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires delivery of maliciously nested JSON to an application that uses go-jose, a scenario that is feasible in many contexts where untrusted data is parsed.
Github GHSA